rename type entity into ir_entity
[libfirm] / ir / ana2 / pto.c
index a4b6555..1254783 100644 (file)
@@ -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)
 \f
 /*
   $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