From: Brian West Date: Tue, 4 Nov 2008 19:31:49 +0000 (+0000) Subject: tweak from Carlos X-Git-Tag: v1.0.2~640 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=881b45a11ecaad0af706d7ae4cc4850fc6ffff89;p=thirdparty%2Ffreeswitch.git tweak from Carlos git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10240 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/include/switch_utils.h b/src/include/switch_utils.h index 32a553faa1..b910b404a8 100644 --- a/src/include/switch_utils.h +++ b/src/include/switch_utils.h @@ -303,7 +303,7 @@ static inline char *switch_lc_strdup(const char *it) if (it) { dup = strdup(it); for(p = dup; p && *p; p++) { - *p = tolower(*p); + *p = (char) tolower(*p); } return dup; } @@ -320,7 +320,7 @@ static inline char *switch_uc_strdup(const char *it) if (it) { dup = strdup(it); for(p = dup; p && *p; p++) { - *p = toupper(*p); + *p = (char) toupper(*p); } return dup; }