diff options
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; } |