Fix compilation warnings
[lttv.git] / lttv / lttv / sync / event_matching_broadcast.c
index 1f3ec560b15a5caf322bd4be231e3c20d6f6926e..968856979b157496dcd6c00ac5c2d64e7740c758 100644 (file)
@@ -21,6 +21,7 @@
 #endif
 
 #include <errno.h>
+#include <inttypes.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
@@ -425,7 +426,7 @@ static void writeAccuracyPoints(MatchingGraphsBroadcast* graphs, const
                        if (eventI->traceNum < eventJ->traceNum)
                        {
                                fprintf(graphs->accuracyPoints[eventJ->traceNum][eventI->traceNum],
-                                       "%20llu %20.9f\n", eventI->cpuTime,
+                                       "%20" PRIu64 " %20.9f\n", eventI->cpuTime,
                                        wallTimeSub(&eventJ->wallTime, &eventI->wallTime));
                                graphs->pointsNb[eventJ->traceNum][eventI->traceNum]++;
                        }
This page took 0.025183 seconds and 4 git commands to generate.