typecast to int
diff --git a/networking/traceroute.c b/networking/traceroute.c
index cf90ec0..628b134 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -418,7 +418,7 @@
 		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);