From fd7e142c90b804b21c86e8905922897f7f2ec4c5 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) --- Ivy/Ivy.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Ivy') diff --git a/Ivy/Ivy.cxx b/Ivy/Ivy.cxx index 60ba574..d4c6056 100644 --- a/Ivy/Ivy.cxx +++ b/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