aboutsummaryrefslogtreecommitdiff
path: root/networking/ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ping.c')
-rw-r--r--networking/ping.c2
1 files changed, 1 insertions, 1 deletions
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) {