From 564e791d630a5c21f81ba870b8e61a38f2341847 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 1 Oct 2006 21:21:41 +0000 Subject: [PATCH] type tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2915 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_loadable_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index b02dfe96f1..2392469ba6 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -586,11 +586,11 @@ SWITCH_DECLARE(switch_codec_interface_t *) switch_loadable_module_get_codec_inte if (!(codec = switch_core_hash_find(loadable_modules.codec_hash, name))) { for(x = 0; x < strlen(name); x++) { - altname[x] = (char)toupper(name[x]); + altname[x] = (char)toupper((int)name[x]); } if (!(codec = switch_core_hash_find(loadable_modules.codec_hash, altname))) { for(x = 0; x < strlen(name); x++) { - altname[x] = (char)tolower(name[x]); + altname[x] = (char)tolower((int)name[x]); } codec = switch_core_hash_find(loadable_modules.codec_hash, altname); }