projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
little cleanup
[libfirm]
/
ir
/
adt
/
array.c
diff --git
a/ir/adt/array.c
b/ir/adt/array.c
index
25692d4
..
6f96184
100644
(file)
--- a/
ir/adt/array.c
+++ b/
ir/adt/array.c
@@
-200,6
+200,6
@@
int array_len(void *arr) {
_arr_descr *array_descr(void *arr) {
if (! arr)
return NULL;
- return
((_arr_descr *)(void *)((char *)(arr) - _ARR_ELTS_OFFS)
);
+ return
_ARR_DESCR(arr
);
}
#endif /* DEBUG_libfirm */