From ce30ae38a4f5ebf2c39bc3483f4129b7c7b104f5 Mon Sep 17 00:00:00 2001 From: Wenpeng Song <wenpeng.song@iopsys.eu> Date: Mon, 7 Aug 2023 09:27:23 +0200 Subject: [PATCH] fix compilation error due to last commit --- src/channels/chan_voicemngr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channels/chan_voicemngr.c b/src/channels/chan_voicemngr.c index 607d11c..10033cb 100644 --- a/src/channels/chan_voicemngr.c +++ b/src/channels/chan_voicemngr.c @@ -389,7 +389,7 @@ struct config_update_struct { // add more if needed }; -static struct voicemngr_codec* voicemngr_codec_get(char *name) +static struct voicemngr_codec* voicemngr_codec_get(const char *name) { for (int i=0; i<VOICEMNGR_CODECS_NUM; i++) if (!strcmp(voicemngr_codecs[i].name, name)) -- GitLab