feed the pedantic monster (NW)

This commit is contained in:
Cowering 2015-07-21 10:01:44 -05:00
parent 70cbd68250
commit 0e5af95be2
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -294,7 +294,7 @@ private:
SUB,
DIV,
PUSH_CONST,
PUSH_INPUT,
PUSH_INPUT
};
struct rpn_inst