From 4ece9a02ed43afd5d151a564e3eb88f1b942c6af Mon Sep 17 00:00:00 2001 From: Peter Tummillo <1263466+pbtummillo@users.noreply.github.com> Date: Wed, 5 Jan 2022 10:43:51 -0800 Subject: Fix adapters/libevent.h compilation for 64-bit Windows (#937) Where SOCKET is a 64-bit unsigned integer. --- adapters/libevent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/libevent.h b/adapters/libevent.h index 9150979..73bb8ed 100644 --- a/adapters/libevent.h +++ b/adapters/libevent.h @@ -50,7 +50,7 @@ static void redisLibeventDestroy(redisLibeventEvents *e) { hi_free(e); } -static void redisLibeventHandler(int fd, short event, void *arg) { +static void redisLibeventHandler(evutil_socket_t fd, short event, void *arg) { ((void)fd); redisLibeventEvents *e = (redisLibeventEvents*)arg; e->state |= REDIS_LIBEVENT_ENTERED; -- cgit v1.2.3