diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-05-14 14:55:24 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-05-14 14:55:24 +0000 |
commit | 262ad2a72b20ad5d8418234691afa06c33ab25c5 (patch) | |
tree | 21f4e8882b008810f26d1e1e755b6c18b6cb8783 /includes | |
parent | 2a4517655a45e798cc4716be9b7d0abc3c900887 (diff) | |
download | haskell-262ad2a72b20ad5d8418234691afa06c33ab25c5.tar.gz |
use StgWord for the lock (fixes valgrind complaint on 64-bit machines)
Diffstat (limited to 'includes')
-rw-r--r-- | includes/SpinLock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpinLock.h b/includes/SpinLock.h index 86840308c5..76fcd4e00e 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 |