rts/ProfilerReportJson: Fix format string
authorBen Gamari <ben@smart-cactus.org>
Tue, 5 Feb 2019 02:42:41 +0000 (21:42 -0500)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Fri, 8 Feb 2019 16:00:22 +0000 (11:00 -0500)
This was warning on i386.

rts/ProfilerReportJson.c

index a786921..ea7c852 100644 (file)
@@ -66,7 +66,7 @@ logCostCentreStack(FILE *prof_file, CostCentreStack const *ccs)
     fprintf(prof_file,
             "{\"id\": %" FMT_Int ", "
             "\"entries\": %" FMT_Word64 ", "
-            "\"alloc\": %" FMT_Word ", "
+            "\"alloc\": %" FMT_Word64 ", "
             "\"ticks\": %" FMT_Word ", ",
             ccs->cc->ccID,
             ccs->scc_count,