commit 6597eb93b66cc4dcf895021b7060dfab812c7058
parent 5d60a480a04f3d49843e8e5457257e53ab2767e9
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 6 Mar 2017 13:26:20 +0100
fix compiler warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -4910,7 +4910,7 @@ setup_epoll_to_listen (struct MHD_Daemon *daemon)
if (MHD_ITC_IS_VALID_(daemon->itc))
{
event.events = EPOLLIN;
- event.data.ptr = epoll_itc_marker;
+ event.data.ptr = (void *) epoll_itc_marker;
if (0 != epoll_ctl (daemon->epoll_fd,
EPOLL_CTL_ADD,
MHD_itc_r_fd_ (daemon->itc),