From 3cb9008799d71be1e1b0c9f873a0bf642cb9b359 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 12 May 2006 19:39:45 +0000 Subject: [PATCH] type tweaks. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1449 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_xml.c b/src/switch_xml.c index d8d9126c82..3cad71ee38 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -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) {