From: Simon Marlow Date: Thu, 14 May 2009 14:55:24 +0000 (+0000) Subject: use StgWord for the lock (fixes valgrind complaint on 64-bit machines) X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=262ad2a72b20ad5d8418234691afa06c33ab25c5;p=ghc-hetmet.git use StgWord for the lock (fixes valgrind complaint on 64-bit machines) --- diff --git a/includes/SpinLock.h b/includes/SpinLock.h index 8684030..76fcd4e 100644 --- a/includes/SpinLock.h +++ b/includes/SpinLock.h @@ -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