tweak from Carlos

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10240 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-11-04 19:31:49 +00:00
parent c9a24dd36e
commit 881b45a11e
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}