summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/thread.c b/client/thread.c
index 58c79a3..c9ae4b9 100644
--- a/client/thread.c
+++ b/client/thread.c
@@ -13,7 +13,7 @@ thread_id()
{
short i;
- i = ((unsigned int)pthread_self() & 0xff) | (getpid() << 8);
+ i = ((uint64_t)pthread_self() & 0xff) | (getpid() << 8);
return i;
}