summaryrefslogtreecommitdiff
path: root/test/recv-msgall.c
diff options
context:
space:
mode:
authornick black <dankamongmen@gmail.com>2022-04-04 10:57:27 -0400
committernick black <dankamongmen@gmail.com>2022-04-04 10:59:19 -0400
commit1b437f50fbfc74c1814cb909766147457d079a5f (patch)
tree1f0f2be7941a6e143bab4a5c4bcd998b9c5a35dd /test/recv-msgall.c
parent000dd873f4da9b6052792c93d4d0978bb4ea3252 (diff)
downloadliburing-1b437f50fbfc74c1814cb909766147457d079a5f.tar.gz
liburing-1b437f50fbfc74c1814cb909766147457d079a5f.tar.bz2
remove double casts
Signed-off-by: nick black <nickblack@linux.com>
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[])