diff options
author | bde <bde@FreeBSD.org> | 1998-06-30 17:30:22 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-30 17:30:22 +0000 |
commit | 53e5892174c34c39d6d81db0c3263e2bb4c25dbb (patch) | |
tree | 36031d886b8788a5c8a49c0ffde950a53f51b433 /lib/libc/net/ns_ntoa.c | |
parent | e9a40050062581b56f20f85567ecdda138916450 (diff) | |
download | FreeBSD-src-53e5892174c34c39d6d81db0c3263e2bb4c25dbb.zip FreeBSD-src-53e5892174c34c39d6d81db0c3263e2bb4c25dbb.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'lib/libc/net/ns_ntoa.c')
-rw-r--r-- | lib/libc/net/ns_ntoa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/ns_ntoa.c b/lib/libc/net/ns_ntoa.c index 0f01f0b..de5f305 100644 --- a/lib/libc/net/ns_ntoa.c +++ b/lib/libc/net/ns_ntoa.c @@ -53,7 +53,7 @@ ns_ntoa(addr) static char *spectHex(); net.net_e = addr.x_net; - sprintf(obuf, "%lx", ntohl(net.long_e)); + sprintf(obuf, "%lx", (u_long)ntohl(net.long_e)); cp = spectHex(obuf); cp2 = cp + 1; while (*up==0 && up < uplim) up++; |