summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Trommler <ptrommler@acm.org>2019-02-06 15:07:05 +0100
committerPeter Trommler <ptrommler@acm.org>2019-02-06 12:40:15 -0500
commit17360efc5fcdc7941be0cb5e76297fd901b6c5e3 (patch)
tree5d344d28190d95b100a2ee9060d50f9251da4a60
parentc07e7ecbdfc05429fb6ce84c547c0365d2754db7 (diff)
downloadhaskell-wip/fix-i386-warning.tar.gz
RTS: Fix format string in log messagewip/fix-i386-warning
-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,