[Freeswitch-svn] [commit] r2915 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Sun Oct 1 17:21:42 EDT 2006


Author: mikej
Date: Sun Oct  1 17:21:41 2006
New Revision: 2915

Modified:
   freeswitch/trunk/src/switch_loadable_module.c

Log:
type tweak

Modified: freeswitch/trunk/src/switch_loadable_module.c
==============================================================================
--- freeswitch/trunk/src/switch_loadable_module.c	(original)
+++ freeswitch/trunk/src/switch_loadable_module.c	Sun Oct  1 17:21:41 2006
@@ -586,11 +586,11 @@
 	
 	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);
 		}



More information about the Freeswitch-svn mailing list