From: Nate Sammons Date: Tue, 6 Apr 1999 01:39:04 +0000 (+0000) Subject: Avoid compiler warning. X-Git-Tag: v4.5.18~1222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bfcd3287759af376cfcc7670da3f048261fab90;p=strace Avoid compiler warning. --- diff --git a/net.c b/net.c index 8ea5c729..e2319646 100644 --- a/net.c +++ b/net.c @@ -355,7 +355,7 @@ long addr; * Anyways, feel free if you don't like * this way.. :) */ - tprintf("%08lx:", ntohl(sipx.sipx_network)); + tprintf("%08lx:", (unsigned long)ntohl(sipx.sipx_network)); for (i = 0; i