X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana2%2Fpto.c;h=12547832e5dfd4fc1ebc2f59baddbeaa1d5f2636;hb=d0d85962ef52c14950db90e5981a7bea36023ab3;hp=a4b65554410c51f7b06391475c4d95a6867480d4;hpb=06f46cfcf9e018ca5d0c735e7192f4e01fc0379b;p=libfirm diff --git a/ir/ana2/pto.c b/ir/ana2/pto.c index a4b655544..12547832e 100644 --- a/ir/ana2/pto.c +++ b/ir/ana2/pto.c @@ -80,7 +80,7 @@ void pto_init (int lvl) ecg_iterate_graphs (pto_init_graph_wrapper, NULL); /* debugging only */ - spaces = xmalloc (512 * sizeof(spaces[0])); + spaces = xmalloc (512 * sizeof (char)); memset (spaces, ' ', 512); spaces += 511; *spaces = '\0'; @@ -137,6 +137,9 @@ void pto_cleanup (void) /* $Log$ + Revision 1.17 2005/01/10 17:26:34 liekweg + fixup printfs, don't put environments on the stack + Revision 1.16 2004/12/22 14:43:14 beck made allocations C-like