From b1a0f651d803e1c1ff50f559b50de5c2dd6236d4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 19 Jun 2011 13:50:51 +0100 Subject: [PATCH] portability: use socklen_t for argument to recvfrom Signed-off-by: Richard Kettlewell Signed-off-by: Ian Jackson --- udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udp.c b/udp.c index 4883d53..4c393cd 100644 --- a/udp.c +++ b/udp.c @@ -64,7 +64,7 @@ static void udp_afterpoll(void *state, struct pollfd *fds, int nfds) { struct udp *st=state; struct sockaddr_in from; - int fromlen; + socklen_t fromlen; struct notify_list *n; bool_t done; int rv; -- 2.30.2