From: Mike Frysinger Date: Tue, 26 Jul 2005 23:00:59 +0000 (-0000) Subject: 2005-03-19 Shaun Jackman X-Git-Tag: 1_1_0~876 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=03e827a42273b11a540e53469486620d86c998c7;p=oweals%2Fbusybox.git 2005-03-19 Shaun Jackman * networking/ping.c (ping): Change the type of fromlen to socklen_t. --- diff --git a/networking/ping.c b/networking/ping.c index c7cbd7078..bba37a025 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -136,7 +136,7 @@ static void ping(const char *host) /* listen for replies */ while (1) { struct sockaddr_in from; - size_t fromlen = sizeof(from); + socklen_t fromlen = sizeof(from); if ((c = recvfrom(pingsock, packet, sizeof(packet), 0, (struct sockaddr *) &from, &fromlen)) < 0) {