From: Rhodri James Date: Tue, 22 Aug 2017 17:57:50 +0000 (+0100) Subject: Fix test_misc_alloc_create_parser_with_encoding() to work in UTF-16 X-Git-Tag: R_2_2_5~24^2~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d2ba5ef545c08b2b916e0359370cb51fdb29a638;p=libexpat Fix test_misc_alloc_create_parser_with_encoding() to work in UTF-16 --- 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; }