From 9f28e488bb8de111706e163671e39ee71a31e69c Mon Sep 17 00:00:00 2001 From: Andre Date: Sun, 5 Mar 2006 13:08:35 +0100 Subject: [PATCH] para_accept(): Use socklen_t instead of size_t Fixes the following warning on x86_64: net.c:76: warning: int format, different type arg (arg 4) --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.c b/net.c index 9c646e90..0a0d8034 100644 --- a/net.c +++ b/net.c @@ -253,7 +253,7 @@ int para_connect(int fd, struct sockaddr_in *their_addr) * * \sa accept(2). */ -int para_accept(int fd, void *addr, size_t size) +int para_accept(int fd, void *addr, socklen_t size) { int new_fd; -- 2.39.5