From: Michael Beck Date: Wed, 22 Dec 2004 11:04:09 +0000 (+0000) Subject: make allocation C-like X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=8922ac3e031ddbd8f2c73a5e876d495f7216bab7;p=libfirm make allocation C-like --- diff --git a/ir/be/bechordal.c b/ir/be/bechordal.c index e7a0812e7..bd9298b2e 100644 --- a/ir/be/bechordal.c +++ b/ir/be/bechordal.c @@ -86,7 +86,7 @@ static void draw_interval_graphs(ir_node *block, if((f = fopen(buf, "wt")) != NULL) { border_t *b; - int *seen = calloc(get_graph_node_count(irg), sizeof(int)); + int *seen = calloc(get_graph_node_count(irg), sizeof(*seen)); int last_pos = list_empty(border_head) ? 0 : list_entry(border_head->prev, border_t, list)->step; int max_col = 0;