summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-02-04 21:42:41 -0500
committerBen Gamari <ben@smart-cactus.org>2019-02-20 14:28:55 -0500
commit60a71dfde532bd5c9811da10a90bf08563e6ed70 (patch)
tree6894340708dc28e0ddcdba98e944f4564709b887
parent897b3dc801e0bbe1712bbb1361eecc9a62998d25 (diff)
downloadhaskell-60a71dfde532bd5c9811da10a90bf08563e6ed70.tar.gz
rts/ProfilerReportJson: Fix format string
This was warning on i386. (cherry picked from commit 7ff127f9e455402da183d1bb1808db024d1fa944)
-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,