소스 검색

fix compiler warning

Christian Grothoff 9 년 전
부모
커밋
6597eb93b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/microhttpd/daemon.c

+ 1 - 1
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),