tweak from Carlos
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10240 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c9a24dd36e
commit
881b45a11e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue