Fix test_ns_long_element() to work in builds
@@ -7527,10 +7527,10 @@ START_TEST(test_ns_long_element)
" xmlns:foo='http://example.org/' bar:a='12'\n"
" xmlns:bar='http://example.org/'>"
"</foo:thisisalongenoughelementnametotriggerareallocation>";
- const char *elemstr[] = {
- "http://example.org/"
- " thisisalongenoughelementnametotriggerareallocation foo",
- "http://example.org/ a bar"
+ const XML_Char *elemstr[] = {
+ XCS("http://example.org/")
+ XCS(" thisisalongenoughelementnametotriggerareallocation foo"),
+ XCS("http://example.org/ a bar")
};
XML_SetReturnNSTriplet(parser, XML_TRUE);
