aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/hashlib.h
diff options
context:
space:
mode:
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 4199e6f3a..63ac956f2 100644
--- a/kernel/hashlib.h
+++ b/kernel/hashlib.h
@@ -147,7 +147,7 @@ struct hash_ptr_ops {
return a == b;
}
static inline unsigned int hash(const void *a) {
- return (intptr_t)a;
+ return (uintptr_t)a;
}
};