[commit: ghc] wip/fix-i386-warning: RTS: Fix format string in log message (acb56d2)

git at git.haskell.org git at git.haskell.org
Wed Feb 6 14:10:54 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/fix-i386-warning
Link       : http://ghc.haskell.org/trac/ghc/changeset/acb56d2e4b30a090b1934307252115e235b5bd88/ghc

>---------------------------------------------------------------

commit acb56d2e4b30a090b1934307252115e235b5bd88
Author: Peter Trommler <ptrommler at acm.org>
Date:   Wed Feb 6 15:07:05 2019 +0100

    RTS: Fix format string in log message


>---------------------------------------------------------------

acb56d2e4b30a090b1934307252115e235b5bd88
 rts/ProfilerReportJson.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/ProfilerReportJson.c b/rts/ProfilerReportJson.c
index a786921..ea7c852 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,



More information about the ghc-commits mailing list