summaryrefslogtreecommitdiff
path: root/tests/exit5.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exit5.c')
-rw-r--r--tests/exit5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exit5.c b/tests/exit5.c
index 15e1bc9..ac98f99 100644
--- a/tests/exit5.c
+++ b/tests/exit5.c
@@ -115,7 +115,7 @@ Win32thread(void * arg)
/*
* Doesn't return.
*/
- pthread_exit((void *) result);
+ pthread_exit((void *)(size_t)result);
return 0;
}