fix warnings

This commit is contained in:
Jeff Lenk committed 2011-09-16 12:34:51 -05:00
1 parent c4464c65fd
commit 77c01bc4b7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -446,7 +446,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_queue_dtmf_string(switch_channel_
dur = switch_core_default_dtmf_duration(0) / 8;
if ((p = strchr(argv[i], '@'))) {
*p++ = '\0';
if ((dur = atoi(p)) > switch_core_min_dtmf_duration(0) / 8) {
if ((dur = atoi(p)) > (int)switch_core_min_dtmf_duration(0) / 8) {
dtmf.duration = dur * 8;
}
}