diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-21 12:51:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-21 12:51:29 +0000 |
commit | ab09043a271800dd3124502738d3651ac317899d (patch) | |
tree | 8a2b4c63a30644a7893d4a02d5f5c04b2f4569fe /cpukit/libnetworking/libc | |
parent | Fixed discrepancies noted by John Oleynick <johno@sirius.com>. (diff) | |
download | rtems-ab09043a271800dd3124502738d3651ac317899d.tar.bz2 |
Fixed warning about pointer/integer conversion which turned out to be
a missed "&" on a write.
Diffstat (limited to 'cpukit/libnetworking/libc')
-rw-r--r-- | cpukit/libnetworking/libc/res_send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/libc/res_send.c b/cpukit/libnetworking/libc/res_send.c index 1b03bb5b1b..8ab2d43804 100644 --- a/cpukit/libnetworking/libc/res_send.c +++ b/cpukit/libnetworking/libc/res_send.c @@ -425,7 +425,7 @@ res_send(buf, buflen, ans, anssiz) /* * RTEMS doesn't have writev (yet) */ - if ((write (s, len, INT16SZ) != INT16SZ) + if ((write (s, &len, INT16SZ) != INT16SZ) || (write (s, buf, buflen) != buflen)) { #endif terrno = errno; |