rts/ProfilerReportJson: Fix format string
authorBen Gamari <ben@smart-cactus.org>
Tue, 5 Feb 2019 02:42:41 +0000 (21:42 -0500)
committerBen Gamari <ben@smart-cactus.org>
Wed, 20 Feb 2019 19:28:55 +0000 (14:28 -0500)
This was warning on i386.

(cherry picked from commit 7ff127f9e455402da183d1bb1808db024d1fa944)

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,