Samuel Thibault пре 12 година
родитељ
комит
64ca2ebf8a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      include/pthread_win32/pthread.h

+ 1 - 1
include/pthread_win32/pthread.h

@@ -134,7 +134,7 @@ static inline int pthread_cancel (pthread_t thread) {
 }
 
 static inline void pthread_exit (void *res) {
-  ExitThread((DWORD_PTR) (DWORD) res);
+  ExitThread((DWORD) (DWORD_PTR) res);
 }
 
 static inline int pthread_join (pthread_t thread, void **res) {