summaryrefslogtreecommitdiff
path: root/kernel/hashlib.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-02-13 17:31:24 +0100
committerClifford Wolf <clifford@clifford.at>2016-02-13 17:31:24 +0100
commitbcc873b805f8ec74422752da530b71d8d762bded (patch)
treeeffe0c5495a8c2a55235bd2db1bd635923d97528 /kernel/hashlib.h
parent6f1d694171a5fd667f05402cc4e93fe2c66428e4 (diff)
Fixed some visual studio warnings
Diffstat (limited to 'kernel/hashlib.h')
-rw-r--r--kernel/hashlib.h2
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));
}
};