summaryrefslogtreecommitdiff
path: root/Bus/Ivy/Ivy.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:56:30 +0000
committerfcolin2007-02-01 12:56:30 +0000
commit714705dcb50aff5ab0a0976c8e4a725a968d6a46 (patch)
treee7812fb7abdb7f18ed550cc9a03e74b53151154a /Bus/Ivy/Ivy.cxx
parent0ee4adee860c77ba82c1e360657b8442f6f61ab7 (diff)
downloadivy-cplusplus-714705dcb50aff5ab0a0976c8e4a725a968d6a46.zip
ivy-cplusplus-714705dcb50aff5ab0a0976c8e4a725a968d6a46.tar.gz
ivy-cplusplus-714705dcb50aff5ab0a0976c8e4a725a968d6a46.tar.bz2
ivy-cplusplus-714705dcb50aff5ab0a0976c8e4a725a968d6a46.tar.xz
Utilisateur : Fcolin Date : 2/06/06 Heure : 17:00 Archivé dans $/Bus/Ivy Commentaire: correction pb signe dans applicationUniqueID (vss 27)
Diffstat (limited to 'Bus/Ivy/Ivy.cxx')
-rw-r--r--Bus/Ivy/Ivy.cxx4
1 files changed, 2 insertions, 2 deletions
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;
}