From a7b4c365cf687aebeb8583adb9c9cdd1196ac03d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 9 May 2005 13:12:13 +0000 Subject: socklen_t. --- cpukit/librpc/src/rpc/bindresvport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/librpc') diff --git a/cpukit/librpc/src/rpc/bindresvport.c b/cpukit/librpc/src/rpc/bindresvport.c index 50c724a32b..e987d77f7b 100644 --- a/cpukit/librpc/src/rpc/bindresvport.c +++ b/cpukit/librpc/src/rpc/bindresvport.c @@ -80,7 +80,7 @@ bindresvport_sa(sd, sa) #endif int proto, portrange, portlow; u_int16_t port; - int salen; + socklen_t salen; if (sa == NULL) { salen = sizeof(myaddr); @@ -121,7 +121,7 @@ bindresvport_sa(sd, sa) sa->sa_len = salen; if (port == 0) { - int oldlen = sizeof(old); + socklen_t oldlen = sizeof(old); error = getsockopt(sd, proto, portrange, &old, &oldlen); if (error < 0) -- cgit v1.2.3