Diff of /pthread_once.c [26ed1e] .. [3f334b]  Maximize  Restore

  Switch to side-by-side view

--- a/pthread_once.c
+++ b/pthread_once.c
@@ -54,7 +54,7 @@
       return EINVAL;
     }
   
-  if (!PTW32_INTERLOCKED_EXCHANGE_ADD((LPLONG)&once_control->done, 0)) /* MBR fence */
+  if (!PTW32_INTERLOCKED_EXCHANGE_ADD((LPLONG)&once_control->done, (size_t)0)) /* MBR fence */
     {
       ptw32_mcs_local_node_t node;
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks