summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-02-04 21:42:41 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-02-08 11:00:22 -0500
commit7ff127f9e455402da183d1bb1808db024d1fa944 (patch)
treee4a542cbb21c305424eca60fe67b747b9863adac
parentc1cf2693d6efddeeeb813cd8995a1be136800d17 (diff)
downloadhaskell-7ff127f9e455402da183d1bb1808db024d1fa944.tar.gz
rts/ProfilerReportJson: Fix format string
This was warning on i386.
-rw-r--r--rts/ProfilerReportJson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ProfilerReportJson.c b/rts/ProfilerReportJson.c
index a7869215f7..ea7c852d21 100644
--- a/rts/ProfilerReportJson.c
+++ b/rts/ProfilerReportJson.c
@@ -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,