diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-10 08:06:58 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-10 08:06:58 +0000 |
commit | 8b02581b220950092aeb3adf95c9fc19e361e1d9 (patch) | |
tree | 5afa90be78d6c27cb40c36d23f8af0338a8701aa /cpukit/libnetworking/libc | |
parent | Remove. (diff) | |
download | rtems-8b02581b220950092aeb3adf95c9fc19e361e1d9.tar.bz2 |
socklen_t.
Diffstat (limited to 'cpukit/libnetworking/libc')
-rw-r--r-- | cpukit/libnetworking/libc/rcmd.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/libc/res_send.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/libc/rcmd.c b/cpukit/libnetworking/libc/rcmd.c index c588172434..542da3f21a 100644 --- a/cpukit/libnetworking/libc/rcmd.c +++ b/cpukit/libnetworking/libc/rcmd.c @@ -164,7 +164,7 @@ rcmd(ahost, rport, locuser, remuser, cmd, fd2p) } else { char num[8]; int s2 = rresvport(&lport), s3; - int len = sizeof(from); + socklen_t len = sizeof(from); int nfds; if (s2 < 0) diff --git a/cpukit/libnetworking/libc/res_send.c b/cpukit/libnetworking/libc/res_send.c index fadc16c566..d28165996d 100644 --- a/cpukit/libnetworking/libc/res_send.c +++ b/cpukit/libnetworking/libc/res_send.c @@ -548,7 +548,7 @@ read_len: int dsmasklen; #endif struct sockaddr_in from; - int fromlen; + socklen_t fromlen; if ((s < 0) || vc) { if (vc) |