ソースを参照

Fix cast order

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