Commit 2246c514 authored by Simon Marlow's avatar Simon Marlow
Browse files

fix a printf format warning

parent 220dec86
...@@ -906,7 +906,7 @@ static volatile StgBool token_locked = FALSE; ...@@ -906,7 +906,7 @@ static volatile StgBool token_locked = FALSE;
static void getTokenBatch(Capability *cap) { static void getTokenBatch(Capability *cap) {
while (cas((void *)&token_locked, FALSE, TRUE) == TRUE) { /* nothing */ } while (cas((void *)&token_locked, FALSE, TRUE) == TRUE) { /* nothing */ }
max_commits += TOKEN_BATCH_SIZE; 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; cap -> transaction_tokens = TOKEN_BATCH_SIZE;
token_locked = FALSE; token_locked = FALSE;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment