summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/Ivy.cxx4
1 files changed, 2 insertions, 2 deletions
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;
}