From e470da85f7b9426eea03d66086c2822bf29e9b05 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 3 Mar 2011 23:37:20 +0000 Subject: Some cleanups, mostly x86_64 compat plus interlocked macros --- pthread_spin_destroy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pthread_spin_destroy.c') diff --git a/pthread_spin_destroy.c b/pthread_spin_destroy.c index 8fe2267..c9317d2 100644 --- a/pthread_spin_destroy.c +++ b/pthread_spin_destroy.c @@ -59,9 +59,9 @@ pthread_spin_destroy (pthread_spinlock_t * lock) PTW32_INTERLOCKED_COMPARE_EXCHANGE ((PTW32_INTERLOCKED_LPLONG) & (s->interlock), (PTW32_INTERLOCKED_LONG) - PTW32_OBJECT_INVALID, + (size_t)PTW32_OBJECT_INVALID, (PTW32_INTERLOCKED_LONG) - PTW32_SPIN_UNLOCKED)) + (size_t)PTW32_SPIN_UNLOCKED)) { result = EINVAL; } -- cgit v1.2.3