use StgWord for the lock (fixes valgrind complaint on 64-bit machines)
[ghc-hetmet.git] / includes / SpinLock.h
index 8684030..76fcd4e 100644 (file)
@@ -22,7 +22,7 @@
 #if defined(PROF_SPIN)
 typedef struct SpinLock_
 {
-    StgWord32 lock;
+    StgWord   lock;
     StgWord64 spin; // DEBUG version counts how much it spins
 } SpinLock;
 #else