use StgWord for the lock (fixes valgrind complaint on 64-bit machines)
authorSimon Marlow <marlowsd@gmail.com>
Thu, 14 May 2009 14:55:24 +0000 (14:55 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 14 May 2009 14:55:24 +0000 (14:55 +0000)
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