From 3ba381a862b617be6a89558b0e3ea2c92d7928a5 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 24 Dec 2005 07:16:35 +0000 Subject: [PATCH] Fix compile error when LDAP_CONNECTIONLESS is defined --- servers/slapd/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 99c2f7c579..c540918645 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -215,7 +215,7 @@ static struct slap_daemon { # define SLAP_EVENT_IS_READ(i) SLAP_CHK_EVENT((i), EPOLLIN) # define SLAP_EVENT_IS_WRITE(i) SLAP_CHK_EVENT((i), EPOLLOUT) # define SLAP_EVENT_IS_LISTENER(i) SLAP_EV_LISTENER(revents[(i)].data.ptr) -# define SLAP_EVENT_LISTENER(i) (revents[(i)].data.ptr) +# define SLAP_EVENT_LISTENER(i) ((Listener *)(revents[(i)].data.ptr)) # define SLAP_EVENT_FD(i) SLAP_EV_PTRFD(revents[(i)].data.ptr) -- 2.39.5