commit dc802aa5eae2fc5821ee03915c501c8880c62677 parent 2646f3a681d993ebfff8eaa340615fd94c3d2738 Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Sun, 5 Sep 2021 17:54:16 +0300 MHD_start_daemon_va (): fixed sanitizer error Diffstat:
| M | src/microhttpd/daemon.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -6502,7 +6502,7 @@ MHD_start_daemon_va (unsigned int flags, *pflags |= MHD_USE_INTERNAL_POLLING_THREAD; } if (0 == (*pflags & MHD_USE_INTERNAL_POLLING_THREAD)) - *pflags = (*pflags & ~MHD_USE_ITC); /* useless if we are using 'external' select */ + *pflags = (*pflags & ((enum MHD_FLAG) ~MHD_USE_ITC)); /* useless if we are using 'external' select */ else { #ifdef HAVE_LISTEN_SHUTDOWN