From b22dc0b44d82f854c0b2f38776dba2f24b2421ff Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Wed, 23 Aug 2017 11:43:40 +0100 Subject: [PATCH] Fix test_alloc_dtd_default_handling() to work in UTF-16 builds --- expat/tests/runtests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 7d912ae5..bb033ac9 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -8742,7 +8742,7 @@ START_TEST(test_alloc_dtd_default_handling) "\n" "]>\n" ""; - const char *expected = "\n\n\n\n\n\n\n\n\ntext in doc"; + const XML_Char *expected = XCS("\n\n\n\n\n\n\n\n\ntext in doc"); CharData storage; int i; const int max_alloc_count = 25;