projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbb2f75
)
Change intptr_t to uintptr_t in hashlib.h
author
Clifford Wolf
<clifford@clifford.at>
Tue, 18 Jul 2017 15:38:19 +0000
(17:38 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 18 Jul 2017 15:38:19 +0000
(17:38 +0200)
kernel/hashlib.h
patch
|
blob
|
history
diff --git
a/kernel/hashlib.h
b/kernel/hashlib.h
index 4199e6f3ae87241a548ab3d02f7e92d9df1da563..63ac956f21d8ff78bf1168c9377ff8ba585ab149 100644
(file)
--- 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 (
u
intptr_t)a;
}
};