summaryrefslogtreecommitdiff
path: root/rts/STM.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-10-24 09:13:23 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-10-24 09:13:23 +0000
commit2246c514eade324d70058ba3135dc0c51ee9353b (patch)
treeb1dfa8ca98f35b7b886e02c35b78ace6c293ebf5 /rts/STM.c
parent220dec863e89103983698d253c6087d2f85c037f (diff)
downloadhaskell-2246c514eade324d70058ba3135dc0c51ee9353b.tar.gz
fix a printf format warning
Diffstat (limited to 'rts/STM.c')
-rw-r--r--rts/STM.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/STM.c b/rts/STM.c
index 6bf20f96f2..d840f4ebfe 100644
--- a/rts/STM.c
+++ b/rts/STM.c
@@ -906,7 +906,7 @@ static volatile StgBool token_locked = FALSE;
static void getTokenBatch(Capability *cap) {
while (cas((void *)&token_locked, FALSE, TRUE) == TRUE) { /* nothing */ }
max_commits += TOKEN_BATCH_SIZE;
- TRACE("%p : cap got token batch, max_commits=%lld", cap, max_commits);
+ TRACE("%p : cap got token batch, max_commits=%" FMT_Int64, cap, max_commits);
cap -> transaction_tokens = TOKEN_BATCH_SIZE;
token_locked = FALSE;
}