diff --git a/loop.c b/loop.c index 1bbe620..fb06845 100644 --- a/loop.c +++ b/loop.c @@ -619,7 +619,7 @@ void event_incoming (struct bufferevent *bev, short what, void *_arg) { static void accept_incoming (evutil_socket_t efd, short what, void *arg) { vlogprintf (E_WARNING, "Accepting incoming connection\n"); - unsigned clilen = 0; + socklen_t clilen = 0; struct sockaddr_in cli_addr; int fd = accept (efd, (struct sockaddr *)&cli_addr, &clilen);