gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: daemon.c: muted Oracle compiler w


From: gnunet
Subject: [libmicrohttpd] branch master updated: daemon.c: muted Oracle compiler warning
Date: Mon, 28 Dec 2020 11:21:15 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new ea5a9d7a daemon.c: muted Oracle compiler warning
ea5a9d7a is described below

commit ea5a9d7a4cce5d676aae1d0cfe49a74dd62963c2
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Dec 28 13:15:28 2020 +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.
---
 src/microhttpd/daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index c70b9d7a..021f1d6f 100644
--- 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.

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]