diff options
author | deva <deva> | 2008-05-15 14:19:02 +0000 |
---|---|---|
committer | deva <deva> | 2008-05-15 14:19:02 +0000 |
commit | 63d7e433f104dd13d015df3a048697fad6d43a55 (patch) | |
tree | 4dedec10891f4e9866ba5b3f9bfcd136cc0c7e16 /server/src/uid.cc | |
parent | dd744c562f2f755a9fcd9ee5341c8c8702a9ee32 (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.cc | 2 |
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; } |