summaryrefslogtreecommitdiff
path: root/test/recv-msgall.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/recv-msgall.c')
-rw-r--r--test/recv-msgall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recv-msgall.c b/test/recv-msgall.c
index d77434d..5f202b4 100644
--- a/test/recv-msgall.c
+++ b/test/recv-msgall.c
@@ -241,7 +241,7 @@ static int test(int use_recvmsg)
pthread_mutex_lock(&rd.mutex);
do_send();
pthread_join(recv_thread, &retval);
- return (int)(intptr_t)retval;
+ return (intptr_t)retval;
}
int main(int argc, char *argv[])