Fixed typos, improved docu
[libfirm] / ir / stat / pattern_dmp.c
index f1c57d2..3fb3f18 100644 (file)
@@ -106,7 +106,7 @@ static void vcg_dump_new_pattern(pattern_dumper_t *self, counter_t *cnt)
   /** add a pseudo node */
   fprintf(priv->f,
     "     node: {title: \"c%u\" label: \"cnt: %u\" color:red }\n",
-    ++nr, cnt_to_int(cnt)
+    ++nr, cnt_to_uint(cnt)
   );
 }
 
@@ -194,7 +194,7 @@ static void stdout_dump_new_pattern(pattern_dumper_t *self, counter_t *cnt)
 {
   FILE *f = self->data;
 
-  fprintf(f, "%8u ", cnt_to_int(cnt));
+  fprintf(f, "%8u ", cnt_to_uint(cnt));
 }