From a55e7e8d790f51b81138b12cd4ebc0f69c1f5177 Mon Sep 17 00:00:00 2001 From: derselbst Date: Sun, 17 Jun 2018 15:59:05 +0200 Subject: [PATCH] fix discarding const --- src/bindings/fluid_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/fluid_cmd.c b/src/bindings/fluid_cmd.c index e032275d..b28b0608 100644 --- a/src/bindings/fluid_cmd.c +++ b/src/bindings/fluid_cmd.c @@ -3550,7 +3550,7 @@ fluid_cmd_handler_t* new_fluid_cmd_handler(fluid_synth_t* synth, fluid_midi_rout for (i = 0; i < FLUID_N_ELEMENTS(fluid_commands); i++) { - fluid_cmd_t* cmd = &fluid_commands[i]; + const fluid_cmd_t* cmd = &fluid_commands[i]; int is_router_cmd = FLUID_STRCMP(cmd->topic, "router") == 0; if((is_router_cmd && router == NULL) || (!is_router_cmd && synth == NULL))