diff options
Diffstat (limited to 'pthread_spin_destroy.c')
-rw-r--r-- | pthread_spin_destroy.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |