diff options
author | fcolin | 2006-06-02 14:50:40 +0000 |
---|---|---|
committer | fcolin | 2006-06-02 14:50:40 +0000 |
commit | 442107b69be55cd0ab0d7c8554096d9d20c37d08 (patch) | |
tree | 0167da856ba6153b2076304c45df17a83304695a /src | |
parent | 1f3c03814fc2939a234232229a7127cdc706c470 (diff) | |
download | ivy-c-442107b69be55cd0ab0d7c8554096d9d20c37d08.zip ivy-c-442107b69be55cd0ab0d7c8554096d9d20c37d08.tar.gz ivy-c-442107b69be55cd0ab0d7c8554096d9d20c37d08.tar.bz2 ivy-c-442107b69be55cd0ab0d7c8554096d9d20c37d08.tar.xz |
correction d'un petit pb dans la generation de l'appID ( signe - )
Diffstat (limited to 'src')
-rw-r--r-- | src/ivy.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -548,10 +548,10 @@ static unsigned long currentTime() static const char * GenApplicationUniqueIdentifier() { static char appid[2048]; - long curtime; + unsigned long curtime; curtime = currentTime(); srand( curtime ); - sprintf(appid,"%d:%ld:%d",rand(),curtime,ApplicationPort); + sprintf(appid,"%d:%lu:%d",rand(),curtime,ApplicationPort); return appid; } void IvyInit (const char *appname, const char *ready, |