Clean-up: missing cast to fd_set*
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 3 Aug 2016 16:42:43 +0000 (12:42 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 3 Aug 2016 16:42:43 +0000 (12:42 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/kernel/select_poll_epoll.c

index f24e9e468ebcf97da0cdebdf12512d1c5704a5b4..20988a370cdd28e8ce545d7341efd1955b4e82b9 100644 (file)
@@ -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);
 
This page took 0.027511 seconds and 4 git commands to generate.