diff options
author | Peter Tummillo <1263466+pbtummillo@users.noreply.github.com> | 2022-01-05 10:43:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 10:43:51 -0800 |
commit | 4ece9a02ed43afd5d151a564e3eb88f1b942c6af (patch) | |
tree | b385314ebb530166fcf4f87fc97b07320eb8c66b /adapters | |
parent | 799edfaadf2ef0f3ab45703780b1a4226abed702 (diff) |
Fix adapters/libevent.h compilation for 64-bit Windows (#937)
Where SOCKET is a 64-bit unsigned integer.
Diffstat (limited to 'adapters')
-rw-r--r-- | adapters/libevent.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |