summaryrefslogtreecommitdiff
path: root/tests/exit4.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exit4.c')
-rw-r--r--tests/exit4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exit4.c b/tests/exit4.c
index e8cd88a..06dd8b1 100644
--- a/tests/exit4.c
+++ b/tests/exit4.c
@@ -111,7 +111,7 @@ Win32thread(void * arg)
/*
* Doesn't return and doesn't create an implicit POSIX handle.
*/
- pthread_exit((void *) result);
+ pthread_exit((void *)(size_t)result);
return 0;
}