summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-09 13:12:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-09 13:12:13 +0000
commita7b4c365cf687aebeb8583adb9c9cdd1196ac03d (patch)
treeb551e1049e5025d3b2c00e7bcdec14b7457b62ad /cpukit/librpc
parentfbef40beda8eb9657fe61f37343867df59d60312 (diff)
downloadrtems-a7b4c365cf687aebeb8583adb9c9cdd1196ac03d.tar.bz2
socklen_t.
Diffstat (limited to 'cpukit/librpc')
-rw-r--r--cpukit/librpc/src/rpc/bindresvport.c4
1 files changed, 2 insertions, 2 deletions
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)