From: Frank Kardel Date: Sun, 21 Jan 2007 07:49:58 +0000 (+0000) Subject: ntp_io.c: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=769b8fd3cd9f82a77834d625062eebf665b3e6dc;p=thirdparty%2Fntp.git ntp_io.c: pick the right type for the recv*() length argument (use GETSOCKNAME_SOCKLEN_TYPE config.h define) bk: 45b31b266f6ATyE4EYPOBTyxw0vH5g --- diff --git a/ntpd/ntp_io.c b/ntpd/ntp_io.c index fad74c7a22..1fb85280c9 100644 --- a/ntpd/ntp_io.c +++ b/ntpd/ntp_io.c @@ -2810,7 +2810,7 @@ static l_fp static inline int read_network_packet(SOCKET fd, struct interface *itf, l_fp ts) { - size_t fromlen; + GETSOCKNAME_SOCKLEN_TYPE fromlen; int buflen; register struct recvbuf *rb; #ifdef HAVE_TIMESTAMP