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:
24fd303
)
eliminate a warning
author
Simon Marlow
<simonmar@microsoft.com>
Mon, 27 Mar 2006 12:23:23 +0000
(12:23 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Mon, 27 Mar 2006 12:23:23 +0000
(12:23 +0000)
ghc/includes/SMP.h
patch
|
blob
|
history
diff --git
a/ghc/includes/SMP.h
b/ghc/includes/SMP.h
index
93af9df
..
5974c96
100644
(file)
--- a/
ghc/includes/SMP.h
+++ b/
ghc/includes/SMP.h
@@
-121,7
+121,7
@@
lockClosure(StgClosure *p)
do {
nat i = 0;
do {
- info = xchg((P_)&p->header.info, (W_)&stg_WHITEHOLE_info);
+ info = xchg((P_)(void *)&p->header.info, (W_)&stg_WHITEHOLE_info);
if (info != (W_)&stg_WHITEHOLE_info) return (StgInfoTable *)info;
} while (++i < SPIN_COUNT);
yieldThread();