projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
220dec8
)
fix a printf format warning
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 24 Oct 2006 09:13:23 +0000
(09:13 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 24 Oct 2006 09:13:23 +0000
(09:13 +0000)
rts/STM.c
patch
|
blob
|
history
diff --git
a/rts/STM.c
b/rts/STM.c
index
6bf20f9
..
d840f4e
100644
(file)
--- 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;
}