From 262ad2a72b20ad5d8418234691afa06c33ab25c5 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 14 May 2009 14:55:24 +0000 Subject: [PATCH] use StgWord for the lock (fixes valgrind complaint on 64-bit machines) --- includes/SpinLock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4