summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--3rdparty/mongoose/mongoose.c2
-rw-r--r--src/emu/netlist/devices/nld_system.h2
2 files changed, 2 insertions, 2 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);
}
diff --git a/src/emu/netlist/devices/nld_system.h b/src/emu/netlist/devices/nld_system.h
index 76837f99d28..3f8de7bc2fc 100644
--- a/src/emu/netlist/devices/nld_system.h
+++ b/src/emu/netlist/devices/nld_system.h
@@ -294,7 +294,7 @@ private:
SUB,
DIV,
PUSH_CONST,
- PUSH_INPUT,
+ PUSH_INPUT
};
struct rpn_inst