From 66c37d1390e3fa566e3e68a09a9fb9a34eb6ded3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 31 Jul 2005 22:22:20 +0000 Subject: [PATCH] typecast to int --- networking/traceroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);