From c251e3a5765abec504dd7ff66ceadf1809aaf791 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 18 Jul 2017 17:38:19 +0200 Subject: [PATCH] Change intptr_t to uintptr_t in hashlib.h --- kernel/hashlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }; -- 2.30.2