]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
#comment FS-7025 fix compiler warning introduced from e55aee14
authorSeven Du <dujinfang@gmail.com>
Mon, 1 Dec 2014 01:40:18 +0000 (09:40 +0800)
committerSeven Du <dujinfang@gmail.com>
Mon, 1 Dec 2014 01:40:18 +0000 (09:40 +0800)
src/switch_core_io.c

index 69e98e84f58e33a1c94251fa4ab8084d2b39a781..7589832d59a3eebdccc1f141770cc61feaaaa0a8 100644 (file)
@@ -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);