diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-31 22:22:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-31 22:22:20 +0000 |
commit | 66c37d1390e3fa566e3e68a09a9fb9a34eb6ded3 (patch) | |
tree | c5b3aa79f139ece22ac8be2e8ecb87a73dd890d9 | |
parent | 2e3054f413fd65e06f9eedf9993eb067260c3aec (diff) | |
download | busybox-66c37d1390e3fa566e3e68a09a9fb9a34eb6ded3.tar.gz |
typecast to int
-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); |