summaryrefslogtreecommitdiff
path: root/server/src/uid.cc
diff options
context:
space:
mode:
authordeva <deva>2008-05-15 14:19:02 +0000
committerdeva <deva>2008-05-15 14:19:02 +0000
commit63d7e433f104dd13d015df3a048697fad6d43a55 (patch)
tree4dedec10891f4e9866ba5b3f9bfcd136cc0c7e16 /server/src/uid.cc
parentdd744c562f2f755a9fcd9ee5341c8c8702a9ee32 (diff)
Added a lot of testcode... and fixed a lot of minor error (-Wall -Werror)
Diffstat (limited to 'server/src/uid.cc')
-rw-r--r--server/src/uid.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/uid.cc b/server/src/uid.cc
index f9f98ae..7cf3bb8 100644
--- a/server/src/uid.cc
+++ b/server/src/uid.cc
@@ -58,6 +58,6 @@ std::string UID::toString()
{
// std::string uid;
char buf[256];
- sprintf(buf, "%08x%04x%02x", time, pid, cnt);
+ sprintf(buf, "%08x%04x%02x", (unsigned int)time, pid, cnt);
return buf;
}