Commit 262ad2a7 authored by Simon Marlow's avatar Simon Marlow
Browse files

use StgWord for the lock (fixes valgrind complaint on 64-bit machines)

parent 2a451765
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment