--- sa.c 2004/10/03 14:00:23 1.86
+++ sa.c 2004/10/03 14:49:37 1.87
@@ -1517,7 +1517,7 @@
else
tv = NULL;
do {
- n = SA_SC_CALL_5(sa, select, sa->fdSocket+1, &rset, &wset, NULL, tv);
+ n = SA_SC_CALL_5(sa, select, sa->fdSocket+1, &rset, &wset, (fd_set *)NULL, tv);
} while (n == -1 && errno == EINTR);
/* decide on return semantic */
@@ -1611,7 +1611,7 @@
FD_ZERO(&fds);
FD_SET(sa->fdSocket, &fds);
do {
- n = SA_SC_CALL_5(sa, select, sa->fdSocket+1, &fds, NULL, NULL,
+ n = SA_SC_CALL_5(sa, select, sa->fdSocket+1, &fds, (fd_set *)NULL, (fd_set *)NULL,
&sa->tvTimeout[SA_TIMEOUT_ACCEPT]);
} while (n == -1 && errno == EINTR);
if (n == 0)
@@ -1772,7 +1772,7 @@
FD_ZERO(&fds);
FD_SET(sa->fdSocket, &fds);
do {
- rv = SA_SC_CALL_5(sa, select, sa->fdSocket+1, &fds, NULL, NULL,
+ rv = SA_SC_CALL_5(sa, select, sa->fdSocket+1, &fds, (fd_set *)NULL, (fd_set *)NULL,
&sa->tvTimeout[SA_TIMEOUT_READ]);
} while (rv == -1 && errno == EINTR);
if (rv == 0) {
@@ -1951,7 +1951,7 @@
FD_ZERO(&fds);
FD_SET(sa->fdSocket, &fds);
do {
- rv = SA_SC_CALL_5(sa, select, sa->fdSocket+1, NULL, &fds, NULL,
+ rv = SA_SC_CALL_5(sa, select, sa->fdSocket+1, (fd_set *)NULL, &fds, (fd_set *)NULL,
&sa->tvTimeout[SA_TIMEOUT_WRITE]);
} while (rv == -1 && errno == EINTR);
if (rv == 0) {
@@ -2196,7 +2196,7 @@
FD_ZERO(&fds);
FD_SET(sa->fdSocket, &fds);
do {
- k = SA_SC_CALL_5(sa, select, sa->fdSocket+1, &fds, NULL, NULL,
+ k = SA_SC_CALL_5(sa, select, sa->fdSocket+1, &fds, (fd_set *)NULL, (fd_set *)NULL,
&sa->tvTimeout[SA_TIMEOUT_READ]);
} while (k == -1 && errno == EINTR);
if (k == 0)
@@ -2253,7 +2253,7 @@
FD_ZERO(&fds);
FD_SET(sa->fdSocket, &fds);
do {
- k = SA_SC_CALL_5(sa, select, sa->fdSocket+1, NULL, &fds, NULL,
+ k = SA_SC_CALL_5(sa, select, sa->fdSocket+1, (fd_set *)NULL, &fds, (fd_set *)NULL,
&sa->tvTimeout[SA_TIMEOUT_WRITE]);
} while (k == -1 && errno == EINTR);
if (k == 0)
|