From 8acf6049c01142822afe98e602fd997c0d8ee1cb Mon Sep 17 00:00:00 2001 From: kardel Date: Sun, 21 Jan 2007 07:59:31 +0000 Subject: [PATCH] Use the portable version to declare the type of the length argument for the recv*() functions. Fix queued with the NTP project. --- dist/ntp/ntpd/ntp_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/ntp/ntpd/ntp_io.c b/dist/ntp/ntpd/ntp_io.c index b3de65c76527..556b9bd78457 100644 --- a/dist/ntp/ntpd/ntp_io.c +++ b/dist/ntp/ntpd/ntp_io.c @@ -1,4 +1,4 @@ -/* $NetBSD: ntp_io.c,v 1.21 2007/01/06 19:45:22 kardel Exp $ */ +/* $NetBSD: ntp_io.c,v 1.22 2007/01/21 07:59:31 kardel Exp $ */ /* * ntp_io.c - input/output routines for ntpd. The socket-opening code @@ -2812,7 +2812,7 @@ static l_fp static inline int read_network_packet(SOCKET fd, struct interface *itf, l_fp ts) { - socklen_t fromlen; + GETSOCKNAME_SOCKLEN_TYPE fromlen; int buflen; register struct recvbuf *rb; #ifdef HAVE_TIMESTAMP