Improved dump for RM.
[libfirm] / html_dumper.c
index bfeb4ce..60be3bd 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "pbqp_edge_t.h"
 #include "pbqp_node_t.h"
-#include "heuristical.h"
+#include "optimal.h"
 #include "html_dumper.h"
 #include "kaps.h"
 
@@ -41,7 +41,11 @@ static const char *cost2a(num const cost)
        static char buf[10];
 
        if (cost == INF_COSTS) return "inf";
+#if KAPS_USE_UNSIGNED
+       sprintf(buf, "%u", cost);
+#else
        sprintf(buf, "%10lld", cost);
+#endif
        return buf;
 }