Skip to content

Commit 78c5b23

Browse files
committed
Squash compile warning with MSys2
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 5bcf0ed commit 78c5b23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/win32/pthread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ extern pthread_t pthread_self(void);
7777

7878
static inline int pthread_exit(void *ret)
7979
{
80-
ExitThread((DWORD)ret);
80+
ExitThread((DWORD)(size_t)ret);
8181
}
8282

8383
typedef DWORD pthread_key_t;

0 commit comments

Comments
 (0)