Make some 64 bit warnings go away on x86-64.
This commit is contained in:
@@ -311,7 +311,7 @@ static void unpack(char *packet, int sz, struct sockaddr_in6 *from, int hoplimit
|
||||
return;
|
||||
|
||||
printf("%d bytes from %s: icmp6_seq=%u", sz,
|
||||
inet_ntop(AF_INET6, (struct in_addr6 *) &pingaddr.sin6_addr,
|
||||
inet_ntop(AF_INET6, &pingaddr.sin6_addr,
|
||||
buf, sizeof(buf)),
|
||||
icmppkt->icmp6_seq);
|
||||
printf(" ttl=%d time=%lu.%lu ms", hoplimit,
|
||||
@@ -392,7 +392,7 @@ static void ping(const char *host)
|
||||
|
||||
printf("PING %s (%s): %d data bytes\n",
|
||||
hostent->h_name,
|
||||
inet_ntop(AF_INET6, (struct in_addr6 *) &pingaddr.sin6_addr,
|
||||
inet_ntop(AF_INET6, &pingaddr.sin6_addr,
|
||||
buf, sizeof(buf)),
|
||||
datalen);
|
||||
|
||||
|
Reference in New Issue
Block a user