diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-02-13 17:31:24 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-02-13 17:31:24 +0100 |
commit | bcc873b805f8ec74422752da530b71d8d762bded (patch) | |
tree | effe0c5495a8c2a55235bd2db1bd635923d97528 /kernel/hashlib.h | |
parent | 6f1d694171a5fd667f05402cc4e93fe2c66428e4 (diff) |
Fixed some visual studio warnings
Diffstat (limited to 'kernel/hashlib.h')
-rw-r--r-- | kernel/hashlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/hashlib.h b/kernel/hashlib.h index a31c62e5..972a8b8d 100644 --- a/kernel/hashlib.h +++ b/kernel/hashlib.h @@ -74,7 +74,7 @@ template<> struct hash_ops<int32_t> : hash_int_ops template<> struct hash_ops<int64_t> : hash_int_ops { static inline unsigned int hash(int64_t a) { - return mkhash(a, a >> 32); + return mkhash((unsigned int)(a), (unsigned int)(a >> 32)); } }; |