From d6639e21e48e2583d2add5639720c269d0e5be28 Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Tue, 22 Aug 2017 18:38:10 +0100 Subject: [PATCH] Fix test_ns_prefix_with_empty_uri_4() to work in UTF-16 builds --- expat/tests/runtests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);