diff options
author | Rob Landley | 2005-07-25 01:46:24 +0000 |
---|---|---|
committer | Rob Landley | 2005-07-25 01:46:24 +0000 |
commit | ab6399a4c6c9fe9c7661120bf65ed398eb0afd9e (patch) | |
tree | 3d2042fed82bdc99f5b562b1a71acb9264d36a01 | |
parent | ca17c937c2adafc194c772bca922df4b87cda3dd (diff) | |
download | busybox-ab6399a4c6c9fe9c7661120bf65ed398eb0afd9e.zip busybox-ab6399a4c6c9fe9c7661120bf65ed398eb0afd9e.tar.gz |
Tweak from Sean Jackman: use socklen_t instead of size_t for a declaration.
-rw-r--r-- | busybox/networking/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/busybox/networking/ping.c b/busybox/networking/ping.c index 50f3930..ddbca20 100644 --- a/busybox/networking/ping.c +++ b/busybox/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) { |