]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
cast for arm (lol)
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 9 Aug 2006 18:25:15 +0000 (18:25 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 9 Aug 2006 18:25:15 +0000 (18:25 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2246 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_xml.c

index 4076b10eef59f77bf1446f13ea3f20c679fb62ed..f18a55d28a142a3b1aac4485483ad6994392bd9a 100644 (file)
@@ -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");