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) {