summaryrefslogtreecommitdiff
path: root/rts/ProfHeap.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/ProfHeap.c
parent61e4d6b10e06e820d976137b223b1f4f6dbed2a6 (diff)
downloadhaskell-d3b7db04620d92ff993a14a9ad6ebf9d74c74cd2.tar.gz
Fix the Windows build
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r--rts/ProfHeap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c
index 187116fdbc..a7ea3eb565 100644
--- a/rts/ProfHeap.c
+++ b/rts/ProfHeap.c
@@ -515,7 +515,7 @@ fprint_ccs(FILE *fp, CostCentreStack *ccs, nat max_length)
return;
}
- fprintf(fp, "(%ld)", ccs->ccsID);
+ fprintf(fp, "(%" FMT_Int ")", ccs->ccsID);
p = buf;
buf_end = buf + max_length + 1;