summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/mongoose/mongoose.c
diff options
context:
space:
mode:
author Cowering <cowering@users.noreply.github.com>2015-07-21 10:01:44 -0500
committer Cowering <cowering@users.noreply.github.com>2015-07-21 10:01:44 -0500
commit0e5af95be23d1952cbcc603322a315d719bc0f5a (patch)
tree16eb9b54879b805a60460554c2d3adcf8dd225c0 /3rdparty/mongoose/mongoose.c
parent70cbd68250740af6c914f7b09d113d4f122b5f25 (diff)
feed the pedantic monster (NW)
Diffstat (limited to '3rdparty/mongoose/mongoose.c')
-rw-r--r--3rdparty/mongoose/mongoose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/mongoose/mongoose.c b/3rdparty/mongoose/mongoose.c
index fce6e0405b6..3fc2b63fd0a 100644
--- a/3rdparty/mongoose/mongoose.c
+++ b/3rdparty/mongoose/mongoose.c
@@ -5479,7 +5479,7 @@ static void iter2(struct ns_connection *nc, int ev, void *param) {
(void) ev;
//DBG(("%p [%s]", conn, msg));
- if (sscanf(msg, "%p %n", &func, &n) && func != NULL && conn != NULL) {
+ if (sscanf(msg, "%p %n", (void **) &func, &n) && func != NULL && conn != NULL) {
conn->mg_conn.callback_param = (void *) (msg + n);
func(&conn->mg_conn, MG_POLL);
}