]> granicus.if.org Git - libexpat/commitdiff
Fix test_ns_prefix_with_empty_uri_4() to work in UTF-16 builds
authorRhodri James <rhodri@kynesim.co.uk>
Tue, 22 Aug 2017 17:38:10 +0000 (18:38 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 29 Aug 2017 21:13:15 +0000 (23:13 +0200)
expat/tests/runtests.c

index 10008ac6b8c87719d36c685c053aa4d6cff8c664..bd0defd0f03e0319108cd92b70eadf929bbe7c3c 100644 (file)
@@ -7391,8 +7391,8 @@ START_TEST(test_ns_prefix_with_empty_uri_4)
     /* Packaged info expected by the end element handler;
        the weird structuring lets us re-use the triplet_end_checker()
        function also used for another test. */
-    const char *elemstr[] = {
-        "http://example.org/ doc prefix"
+    const XML_Char *elemstr[] = {
+        XCS("http://example.org/ doc prefix")
     };
     XML_SetReturnNSTriplet(parser, XML_TRUE);
     XML_SetUserData(parser, elemstr);