projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e0f6b3
)
Fixed size_t related warning.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 28 Apr 2011 08:13:05 +0000
(10:13 +0200)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 28 Apr 2011 08:13:05 +0000
(10:13 +0200)
ir/be/bestabs.c
patch
|
blob
|
history
diff --git
a/ir/be/bestabs.c
b/ir/be/bestabs.c
index
63997b5
..
021bee5
100644
(file)
--- a/
ir/be/bestabs.c
+++ b/
ir/be/bestabs.c
@@
-338,7
+338,7
@@
static void print_array_type(stabs_handle *h, ir_type *tp, int local)
ir_type *etp = get_array_element_type(tp);
size_t i, n = get_array_n_dimensions(tp);
unsigned type_num = local ? h->next_type_nr++ : get_type_number(h, tp);
-
int
*perm;
+
size_t
*perm;
be_emit_irprintf("%u=a", type_num);
NEW_ARR_A(size_t, perm, n);