projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c57a66
)
Hash() should return an unsigned
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 21 May 2007 13:03:39 +0000
(13:03 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 21 May 2007 13:03:39 +0000
(13:03 +0000)
[r13949]
ir/ir/irnodeset.c
patch
|
blob
|
history
diff --git
a/ir/ir/irnodeset.c
b/ir/ir/irnodeset.c
index
f8c93b9
..
1dc79ef
100644
(file)
--- a/
ir/ir/irnodeset.c
+++ b/
ir/ir/irnodeset.c
@@
-39,7
+39,7
@@
#define NullValue NULL
#define DeletedValue ((ir_node*)-1)
#ifdef DEBUG_libfirm
-#define Hash(this,value) (
value)->node_nr
+#define Hash(this,value) (
(unsigned)((value)->node_nr))
#else
#define Hash(this,value) HASH_PTR(value)
#endif