summaryrefslogtreecommitdiff
path: root/rts/Profiling.c
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-01-29 05:32:38 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2016-01-29 05:33:22 +0100
commitd3b7db04620d92ff993a14a9ad6ebf9d74c74cd2 (patch)
tree5b9c0a302b5630becb3c1d3b871a6457f5cb40cb /rts/Profiling.c
parent61e4d6b10e06e820d976137b223b1f4f6dbed2a6 (diff)
downloadhaskell-d3b7db04620d92ff993a14a9ad6ebf9d74c74cd2.tar.gz
Fix the Windows build
Diffstat (limited to 'rts/Profiling.c')
-rw-r--r--rts/Profiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Profiling.c b/rts/Profiling.c
index c67b0817df..4f2606c8b4 100644
--- a/rts/Profiling.c
+++ b/rts/Profiling.c
@@ -951,7 +951,7 @@ logCCS(CostCentreStack *ccs, nat indent,
max_module_len - strlen_utf8(cc->module), "");
fprintf(prof_file,
- " %*ld %11" FMT_Word64 " %5.1f %5.1f %5.1f %5.1f",
+ " %*" FMT_Int "%11" FMT_Word64 " %5.1f %5.1f %5.1f %5.1f",
max_id_len, ccs->ccsID, ccs->scc_count,
total_prof_ticks == 0 ? 0.0 : ((double)ccs->time_ticks / (double)total_prof_ticks * 100.0),
total_alloc == 0 ? 0.0 : ((double)ccs->mem_alloc / (double)total_alloc * 100.0),