diff options
author | bde <bde@FreeBSD.org> | 1998-06-30 18:06:23 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-30 18:06:23 +0000 |
commit | 8c3de9bd74c007551dc31617da0d7456520b2ed7 (patch) | |
tree | de24336fab952257a79e44d87cff168e1424a47b /lib/libipx | |
parent | 8925ea450ff1e6f1ff45435a7dd6fc4e3b1128ca (diff) | |
download | FreeBSD-src-8c3de9bd74c007551dc31617da0d7456520b2ed7.zip FreeBSD-src-8c3de9bd74c007551dc31617da0d7456520b2ed7.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'lib/libipx')
-rw-r--r-- | lib/libipx/ipx_ntoa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libipx/ipx_ntoa.c b/lib/libipx/ipx_ntoa.c index 21e60a1..1bf1c57 100644 --- a/lib/libipx/ipx_ntoa.c +++ b/lib/libipx/ipx_ntoa.c @@ -53,7 +53,7 @@ ipx_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++; |