summaryrefslogtreecommitdiff
path: root/src/ivy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivy.c')
-rw-r--r--src/ivy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ivy.c b/src/ivy.c
index 7feffd0..af7cdc9 100644
--- a/src/ivy.c
+++ b/src/ivy.c
@@ -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,