From: Rhodri James Date: Tue, 22 Aug 2017 17:38:10 +0000 (+0100) Subject: Fix test_ns_prefix_with_empty_uri_4() to work in UTF-16 builds X-Git-Tag: R_2_2_5~24^2~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6639e21e48e2583d2add5639720c269d0e5be28;p=libexpat Fix test_ns_prefix_with_empty_uri_4() to work in UTF-16 builds --- diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 10008ac6..bd0defd0 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -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);