summaryrefslogtreecommitdiff
path: root/tests/cleanup1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cleanup1.c')
-rw-r--r--tests/cleanup1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cleanup1.c b/tests/cleanup1.c
index 4939e6f..2be711c 100644
--- a/tests/cleanup1.c
+++ b/tests/cleanup1.c
@@ -98,7 +98,7 @@ mythread(void * arg)
pthread_cleanup_pop(0);
- return result;
+ return (void *) result;
}
int