From d2ba5ef545c08b2b916e0359370cb51fdb29a638 Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Tue, 22 Aug 2017 18:57:50 +0100 Subject: [PATCH] Fix test_misc_alloc_create_parser_with_encoding() to work in UTF-16 --- 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 a250a789..c637dc0c 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -7910,7 +7910,7 @@ START_TEST(test_misc_alloc_create_parser_with_encoding) /* Try several levels of allocation */ for (i = 0; i < max_alloc_count; i++) { allocation_count = i; - parser = XML_ParserCreate_MM("us-ascii", &memsuite, NULL); + parser = XML_ParserCreate_MM(XCS("us-ascii"), &memsuite, NULL); if (parser != NULL) break; } -- 2.40.0