From 714705dcb50aff5ab0a0976c8e4a725a968d6a46 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 12:56:30 +0000 Subject: Utilisateur : Fcolin Date : 2/06/06 Heure : 17:00 Archivé dans $/Bus/Ivy Commentaire: correction pb signe dans applicationUniqueID (vss 27) --- Bus/Ivy/Ivy.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bus/Ivy') diff --git a/Bus/Ivy/Ivy.cxx b/Bus/Ivy/Ivy.cxx index 60ba574..d4c6056 100644 --- a/Bus/Ivy/Ivy.cxx +++ b/Bus/Ivy/Ivy.cxx @@ -82,10 +82,10 @@ Ivy::Ivy(const char* name, const char * ready, IvyApplicationCallback *callback, const char *Ivy::GenApplicationUniqueIdentifier() { static char appid[2048]; - long curtime; + unsigned long curtime; curtime = GetTickCount(); srand( curtime ); - sprintf(appid,"%d:%ld:%d",rand(),curtime,applicationPort); + sprintf(appid,"%d:%lu:%d",rand(),curtime,applicationPort); return appid; } -- cgit v1.1