From: Clifford Wolf Date: Tue, 18 Jul 2017 15:38:19 +0000 (+0200) Subject: Change intptr_t to uintptr_t in hashlib.h X-Git-Tag: yosys-0.8~386 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c251e3a5765abec504dd7ff66ceadf1809aaf791;p=yosys.git Change intptr_t to uintptr_t in hashlib.h --- 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; } };