aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2017-07-18 17:38:19 +0200
committerClifford Wolf <clifford@clifford.at>2017-07-18 17:38:19 +0200
commitc251e3a5765abec504dd7ff66ceadf1809aaf791 (patch)
treeece63c42c44d8877caeab01a0a65b83d48b1b488 /kernel
parentdbb2f755c1150b45cce5870530d0d1e2be80f519 (diff)
downloadyosys-c251e3a5765abec504dd7ff66ceadf1809aaf791.tar.gz
yosys-c251e3a5765abec504dd7ff66ceadf1809aaf791.tar.bz2
yosys-c251e3a5765abec504dd7ff66ceadf1809aaf791.zip
Change intptr_t to uintptr_t in hashlib.h
Diffstat (limited to 'kernel')
-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;
}
};