libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit ea5a9d7a4cce5d676aae1d0cfe49a74dd62963c2
parent 9599a5ea760802bac7f6aa36c596f726d5f47084
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Mon, 28 Dec 2020 13:15:28 +0300

daemon.c: muted Oracle compiler warning

Oracle Developer Studio cc compiler is too picky about pointers
conversion from/to void*. Muted warning for the main code and
left some warnings in examples as they are too obvious.

Diffstat:
Msrc/microhttpd/daemon.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -148,7 +148,7 @@ mhd_panic_std (void *cls, /** * Handler for fatal errors. */ -MHD_PanicCallback mhd_panic = NULL; +MHD_PanicCallback mhd_panic = (MHD_PanicCallback) NULL; /** * Closure argument for #mhd_panic.