]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
type tweaks.
authorMichael Jerris <mike@jerris.com>
Fri, 12 May 2006 19:39:45 +0000 (19:39 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 12 May 2006 19:39:45 +0000 (19:39 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1449 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_xml.c

index d8d9126c82c9ccedaf316821ac8972b15c617c49..3cad71ee382a839163090e7a9cee351c1802e6bc 100644 (file)
@@ -111,13 +111,13 @@ static struct xml_section_t SECTIONS[] = {
 
 SWITCH_DECLARE(switch_xml_section_t) switch_xml_parse_section_string(char *str)
 {
-       int x;
+       size_t x;
        char buf[1024] = "";
        switch_xml_section_t sections = SWITCH_XML_SECTION_RESULT;
 
        if (str) {
                for(x = 0; x < strlen(str); x++) {
-                       buf[x] = tolower(str[x]);
+                       buf[x] = (char)tolower(str[x]);
                }
                for(x = 0;;x++) {
                        if (!SECTIONS[x].name) {