提交 a53f2b0c authored 作者: Anthony Minessale's avatar Anthony Minessale

cast for arm (lol)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2246 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 010e85da
......@@ -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");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论