diff options
-rw-r--r-- | networking/traceroute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c index cf90ec088..628b13492 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c @@ -418,7 +418,7 @@ traceroute_main(int argc, char *argv[]) datalen = atoi(*argv); if (datalen < 0 || datalen >= MAXPACKET - sizeof(struct opacket)) bb_error_msg_and_die("packet size must be 0 <= s < %d.", - MAXPACKET - sizeof(struct opacket)); + (int)(MAXPACKET - sizeof(struct opacket))); datalen += sizeof(struct opacket); outpacket = (struct opacket *)xmalloc((unsigned)datalen); memset(outpacket, 0, datalen); |