diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-09 13:12:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-09 13:12:13 +0000 |
commit | a7b4c365cf687aebeb8583adb9c9cdd1196ac03d (patch) | |
tree | b551e1049e5025d3b2c00e7bcdec14b7457b62ad /cpukit/librpc/src | |
parent | Regenerate. (diff) | |
download | rtems-a7b4c365cf687aebeb8583adb9c9cdd1196ac03d.tar.bz2 |
socklen_t.
Diffstat (limited to 'cpukit/librpc/src')
-rw-r--r-- | cpukit/librpc/src/rpc/bindresvport.c | 4 |
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) |