projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed C99 features
[libfirm]
/
ir
/
be
/
test
/
fehler31.c
diff --git
a/ir/be/test/fehler31.c
b/ir/be/test/fehler31.c
index
1681718
..
ea42722
100644
(file)
--- a/
ir/be/test/fehler31.c
+++ b/
ir/be/test/fehler31.c
@@
-1,8
+1,9
@@
#include <stdlib.h>
+#include <stdio.h>
static unsigned hash_ptr(const void *ptr)
{
- unsigned ptr_int = (
ptr -
NULL);
+ unsigned ptr_int = (
(const char*) ptr - (const char*)
NULL);
return ptr_int >> 3;
}