summaryrefslogtreecommitdiff
path: root/includes/rts/storage/SMPClosureOps.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/rts/storage/SMPClosureOps.h')
-rw-r--r--includes/rts/storage/SMPClosureOps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/storage/SMPClosureOps.h b/includes/rts/storage/SMPClosureOps.h
index a8ebb5d0ed..ee92186f5f 100644
--- a/includes/rts/storage/SMPClosureOps.h
+++ b/includes/rts/storage/SMPClosureOps.h
@@ -51,7 +51,7 @@ EXTERN_INLINE StgInfoTable *reallyLockClosure(StgClosure *p)
{
StgWord info;
do {
- nat i = 0;
+ uint32_t i = 0;
do {
info = xchg((P_)(void *)&p->header.info, (W_)&stg_WHITEHOLE_info);
if (info != (W_)&stg_WHITEHOLE_info) return (StgInfoTable *)info;