From: Anthony Minessale Date: Wed, 9 Aug 2006 18:25:15 +0000 (+0000) Subject: cast for arm (lol) X-Git-Tag: v1.0-beta1~2409 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a53f2b0c393cd858ea783dd5f2bb1b9bf230ea9e;p=thirdparty%2Ffreeswitch.git cast for arm (lol) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2246 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_xml.c b/src/switch_xml.c index 4076b10eef..f18a55d28a 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -617,7 +617,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_parse_str(char *s, switch_size_t len) attr = (char **)SWITCH_XML_NIL; d = ++s; - if (isalpha(*s) || *s == '_' || *s == ':' || *s < '\0') { // new tag + if (isalpha(*s) || *s == '_' || *s == ':' || (int8_t) *s < '\0') { // new tag if (! root->cur) return switch_xml_err(root, d, "markup outside of root element");