]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
msvc build tweak
authorMichael Jerris <mike@jerris.com>
Wed, 12 Mar 2008 06:59:09 +0000 (06:59 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 12 Mar 2008 06:59:09 +0000 (06:59 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7876 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_dptools/mod_dptools.c

index 393866a679067e078f0bb3106055a486ba72dc21..88763498811100cde97b2429496b841c4dfd5278 100644 (file)
@@ -89,8 +89,8 @@ SWITCH_STANDARD_APP(dtmf_bind_function)
        if (!switch_strlen_zero(data) && (lbuf = switch_core_session_strdup(session, data))
                && (argc = switch_separate_string(lbuf, ' ', argv, (sizeof(argv) / sizeof(argv[0])))) == 4) {
                int kval = atoi(argv[0]);
-               char a1 = tolower(*argv[1]);
-               char a2 = tolower(*argv[2]);
+               char a1 = (char)tolower(*argv[1]);
+               char a2 = (char)tolower(*argv[2]);
                
                if (switch_ivr_bind_dtmf_meta_session(session, kval, a1 == 'b', a2 == 'b', argv[3]) != SWITCH_STATUS_SUCCESS) {
                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Bind Error!\n");