aboutsummaryrefslogtreecommitdiff
path: root/networking/traceroute.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-01-30 22:30:41 +0000
committerEric Andersen <andersen@codepoet.org>2006-01-30 22:30:41 +0000
commit0cb6f35c33a2a3fd390aaa36da72e0600f205918 (patch)
tree6f685077a27f04869b4f152cbe4287c023554afb /networking/traceroute.c
parent5e678873f9ff7c95d43b278feee547ce989b3b20 (diff)
downloadbusybox-0cb6f35c33a2a3fd390aaa36da72e0600f205918.tar.gz
fix up annoying signed/unsigned and mixed type errors
Diffstat (limited to 'networking/traceroute.c')
-rw-r--r--networking/traceroute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c
index b6252ad3e..95aa290a1 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -293,7 +293,7 @@ struct IFADDRLIST {
static const char route[] = "/proc/net/route";
/* last inbound (icmp) packet */
-static u_char packet[512] __attribute__((align (32)));
+static u_char packet[512] __attribute__((aligned (32)));
static struct ip *outip; /* last output (udp) packet */
static struct udphdr *outudp; /* last output (udp) packet */
@@ -371,7 +371,7 @@ ifaddrlist(struct IFADDRLIST **ipaddrp)
if (errno == EINVAL)
bb_error_msg_and_die(
"SIOCGIFCONF: ifreq struct too small (%d bytes)",
- sizeof(ibuf));
+ (int)sizeof(ibuf));
else
bb_perror_msg_and_die("SIOCGIFCONF");
}