From: Jérémie Galarneau Date: Wed, 3 Aug 2016 16:42:43 +0000 (-0400) Subject: Clean-up: missing cast to fd_set* X-Git-Tag: v2.9.0-rc1~71 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7b3e02e5fea1406b56435c3a00d206ea5857683e;p=lttng-tools.git Clean-up: missing cast to fd_set* Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/kernel/select_poll_epoll.c b/tests/regression/kernel/select_poll_epoll.c index f24e9e468..20988a370 100644 --- a/tests/regression/kernel/select_poll_epoll.c +++ b/tests/regression/kernel/select_poll_epoll.c @@ -456,7 +456,7 @@ void pselect_fd_too_big(void) perror("dup2"); return; } - FD_ZERO(&rfds); + FD_ZERO((fd_set *) &rfds); FD_SET(fd2, (fd_set *) &rfds); ret = syscall(SYS_pselect6, fd2 + 1, &rfds, NULL, NULL, NULL, NULL);