summaryrefslogtreecommitdiff
path: root/test/send_recv.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/send_recv.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/send_recv.c')
-rw-r--r--test/send_recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/send_recv.c b/test/send_recv.c
index ed45f83..ad8ea0e 100644
--- a/test/send_recv.c
+++ b/test/send_recv.c
@@ -254,7 +254,7 @@ static int test(int use_sqthread, int regfiles)
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[])