From: Seven Du Date: Mon, 1 Dec 2014 01:40:18 +0000 (+0800) Subject: #comment FS-7025 fix compiler warning introduced from e55aee14 X-Git-Tag: v1.4.15^2~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc9e9042d16554830bdec0d691f003f90057cfe2;p=thirdparty%2Ffreeswitch.git #comment FS-7025 fix compiler warning introduced from e55aee14 --- diff --git a/src/switch_core_io.c b/src/switch_core_io.c index 69e98e84f5..7589832d59 100644 --- a/src/switch_core_io.c +++ b/src/switch_core_io.c @@ -1845,7 +1845,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_send_dtmf(switch_core_sessio } if ((digits = switch_channel_get_variable_dup(session->channel, "drop_dtmf_masking_digits", SWITCH_FALSE, -1)) && !zstr(digits)) { - char *p; + const char *p; switch_dtmf_t x_dtmf = { 0, switch_core_default_dtmf_duration(0), DTMF_FLAG_SKIP_PROCESS, 0}; switch_channel_clear_flag(session->channel, CF_DROP_DTMF);