[Freeswitch-svn] [commit] r4218 - freeswitch/trunk/src/mod/formats/mod_sndfile

Freeswitch SVN mikej at freeswitch.org
Mon Feb 12 21:26:39 EST 2007


Author: mikej
Date: Mon Feb 12 21:26:39 2007
New Revision: 4218

Modified:
   freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c

Log:
char cast on tolower & toupper

Modified: freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c	(original)
+++ freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c	Mon Feb 12 21:26:39 2007
@@ -343,10 +343,10 @@
 			map->uext = switch_core_permanent_strdup(info.extension);
 			map->format = info.format;
 			for(p = map->ext; *p; p++) {
-				*p = tolower(*p);
+				*p = (char)tolower(*p);
 			}
 			for(p = map->uext; *p; p++) {
-				*p = toupper(*p);
+				*p = (char)toupper(*p);
 			}
 			switch_core_hash_insert(globals.format_hash, map->ext, map);
 			switch_core_hash_insert(globals.format_hash, map->uext, map);



More information about the Freeswitch-svn mailing list