diff options
author | Brian Cully <bjc@kublai.com> | 2010-04-06 11:04:20 -0400 |
---|---|---|
committer | Brian Cully <github.20.shmit@spamgourmet.com> | 2010-04-06 11:04:20 -0400 |
commit | 4ed14dcbc06f8e4a07e25e9ce21ec08e76bd3cf6 (patch) | |
tree | 248fa663fb7f22863ebc6c68ea914e45d0b4e177 /client/thread.c | |
parent | 801c34bc45981b9faac9442d496d56127cc23e50 (diff) | |
download | nastd-4ed14dcbc06f8e4a07e25e9ce21ec08e76bd3cf6.tar.gz nastd-4ed14dcbc06f8e4a07e25e9ce21ec08e76bd3cf6.zip |
Diffstat (limited to 'client/thread.c')
-rw-r--r-- | client/thread.c | 2 |
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; } |