SourceForge has been redesigned. Learn more.
Close

Diff of /pthread_spin_unlock.c [ff142e] .. [c39736]  Maximize  Restore

Switch to side-by-side view

--- a/pthread_spin_unlock.c
+++ b/pthread_spin_unlock.c
@@ -56,7 +56,7 @@
     }
 
   switch ((long)
-	  PTW32_INTERLOCKED_COMPARE_EXCHANGE_LONG ((PTW32_INTERLOCKED_PTR) &s->interlock,
+	  PTW32_INTERLOCKED_COMPARE_EXCHANGE_LONG ((PTW32_INTERLOCKED_LONGPTR) &s->interlock,
 					      (PTW32_INTERLOCKED_LONG) PTW32_SPIN_UNLOCKED,
 					      (PTW32_INTERLOCKED_LONG) PTW32_SPIN_LOCKED))
     {