diff options
Diffstat (limited to 'src/graph/viewman/sselect.c')
-rw-r--r-- | src/graph/viewman/sselect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graph/viewman/sselect.c b/src/graph/viewman/sselect.c index 0e56e9a7..68a3f869 100644 --- a/src/graph/viewman/sselect.c +++ b/src/graph/viewman/sselect.c @@ -60,14 +60,14 @@ *******************************************/ int -superSelect(int n, int *rd, int *wr, int *ex, char *timeout) +superSelect(int n, fd_set *rd, fd_set *wr, fd_set *ex, timeval *timeout) { int waiting; viewManager *viewport; int ret_val; - ret_val = select(n, (void *)rd, (void *)wr, (void *)ex, (void *)timeout); + ret_val = select(n, rd, wr, ex, timeout); while (ret_val == -1 && errno == EINTR) { /* checkClosedChild gets set by the SIGCHLD handler */ if (checkClosedChild) { @@ -84,7 +84,7 @@ superSelect(int n, int *rd, int *wr, int *ex, char *timeout) bsdSignal(OPENAXIOM_SIGCHLD,endChild,DontRestartSystemCalls); } } - ret_val = select(n, (void *)rd, (void *)wr, (void *)ex, (void *)timeout); + ret_val = select(n, rd, wr, ex, timeout); } return ret_val; } |