diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/res_send.c | 2 | ||||
-rw-r--r-- | lib/libtacplus/taclib.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/net/res_send.c b/lib/libc/net/res_send.c index 6885ffd..014de81 100644 --- a/lib/libc/net/res_send.c +++ b/lib/libc/net/res_send.c @@ -605,7 +605,7 @@ read_len: struct timespec ts; struct timeval timeout, ctv; struct sockaddr_storage from; - int fromlen; + socklen_t fromlen; if (s < 0 || vc || af != nsap->sa_family) { if (vc) diff --git a/lib/libtacplus/taclib.c b/lib/libtacplus/taclib.c index d99995d..6ac3c72 100644 --- a/lib/libtacplus/taclib.c +++ b/lib/libtacplus/taclib.c @@ -256,9 +256,8 @@ conn_server(struct tac_handle *h) struct timeval tv; int nfds; struct sockaddr peer; - int peerlen; + socklen_t errlen, peerlen; int err; - int errlen; /* Wait for the connection to complete. */ FD_ZERO(&wfds); |