projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed const from first parameter for phase init data function as some init functions
[libfirm]
/
ir
/
tr
/
entity.c
diff --git
a/ir/tr/entity.c
b/ir/tr/entity.c
index
a89b3c0
..
6000f39
100644
(file)
--- a/
ir/tr/entity.c
+++ b/
ir/tr/entity.c
@@
-267,7
+267,7
@@
get_entity_nr(entity *ent) {
#ifdef DEBUG_libfirm
return ent->nr;
#else
- return
0
;
+ return
(long)PTR_TO_INT(ent)
;
#endif
}