From 87d5a3bbb491c620082f1aa3bfbe2efe415f349e Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 13 Feb 2007 02:26:39 +0000 Subject: [PATCH] char cast on tolower & toupper git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4218 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/formats/mod_sndfile/mod_sndfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/formats/mod_sndfile/mod_sndfile.c b/src/mod/formats/mod_sndfile/mod_sndfile.c index 7fcd648591..60fa69ff66 100644 --- a/src/mod/formats/mod_sndfile/mod_sndfile.c +++ b/src/mod/formats/mod_sndfile/mod_sndfile.c @@ -343,10 +343,10 @@ static switch_status_t setup_formats(void) 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);