]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSCORE-646 core lib won't build for win32
authorJeff Lenk <jeff@jefflenk.com>
Sun, 1 Aug 2010 03:19:39 +0000 (22:19 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Sun, 1 Aug 2010 03:19:39 +0000 (22:19 -0500)
src/switch_ivr_async.c

index 32c8e74c860c28a20796d2eee76a283f8b89f708..bb645def50d0ec7941acd88e78f88e27b2f4ad3e 100644 (file)
@@ -2425,7 +2425,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_bind_dtmf_meta_session(switch_core_se
 
        str[0] = meta;
 
-       if (atoi(str) == key) {
+       if (atoi(str) == (int)key) {
                switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Invalid key %u, same as META CHAR\n", key);
                return SWITCH_STATUS_FALSE;
        }