warning fixes
[lttv.git] / trunk / lttv / lttv / lttv / stats.c
index 6aef4403c61584d7ed869d70c6455cb917c695c8..24b4ad4caf81db5a8fde00561486c0da4bd0a8c1 100644 (file)
@@ -21,6 +21,7 @@
 #endif
 
 #include <stdio.h>
+#include <inttypes.h>
 #include <lttv/module.h>
 #include <lttv/stats.h>
 #include <lttv/lttv.h>
@@ -398,7 +399,7 @@ find_event_tree(LttvTracefileStats *tfcs,
   gint ret;
 
   ret = snprintf(fstring, MAX_64_HEX_STRING_LEN-1,
-        "0x%llX", function) > 0;
+        "0x%" PRIX64, function) > 0;
   g_assert(ret > 0);
   fstring[MAX_64_HEX_STRING_LEN-1] = '\0';
 
This page took 0.022286 seconds and 4 git commands to generate.