summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-06-19 03:20:03 +0000
committerRob Landley <rob@landley.net>2006-06-19 03:20:03 +0000
commit7a260f01ce6841658810dc9f0ff0706558a10d7f (patch)
treef98b6d5bf4c3d48dd54db386c29d39ab26e1463e /networking
parent290fcb4213ae5ab9ec6cb228dd64ef2c9f02d26d (diff)
downloadbusybox-w32-7a260f01ce6841658810dc9f0ff0706558a10d7f.tar.gz
busybox-w32-7a260f01ce6841658810dc9f0ff0706558a10d7f.tar.bz2
busybox-w32-7a260f01ce6841658810dc9f0ff0706558a10d7f.zip
Make some 64 bit warnings go away on x86-64.
Diffstat (limited to 'networking')
-rw-r--r--networking/ping6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ping6.c b/networking/ping6.c
index 1cff59d4b..c15ea5c4a 100644
--- a/networking/ping6.c
+++ b/networking/ping6.c
@@ -311,7 +311,7 @@ static void unpack(char *packet, int sz, struct sockaddr_in6 *from, int hoplimit
311 return; 311 return;
312 312
313 printf("%d bytes from %s: icmp6_seq=%u", sz, 313 printf("%d bytes from %s: icmp6_seq=%u", sz,
314 inet_ntop(AF_INET6, (struct in_addr6 *) &pingaddr.sin6_addr, 314 inet_ntop(AF_INET6, &pingaddr.sin6_addr,
315 buf, sizeof(buf)), 315 buf, sizeof(buf)),
316 icmppkt->icmp6_seq); 316 icmppkt->icmp6_seq);
317 printf(" ttl=%d time=%lu.%lu ms", hoplimit, 317 printf(" ttl=%d time=%lu.%lu ms", hoplimit,
@@ -392,7 +392,7 @@ static void ping(const char *host)
392 392
393 printf("PING %s (%s): %d data bytes\n", 393 printf("PING %s (%s): %d data bytes\n",
394 hostent->h_name, 394 hostent->h_name,
395 inet_ntop(AF_INET6, (struct in_addr6 *) &pingaddr.sin6_addr, 395 inet_ntop(AF_INET6, &pingaddr.sin6_addr,
396 buf, sizeof(buf)), 396 buf, sizeof(buf)),
397 datalen); 397 datalen);
398 398