소스 검색

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