Fix test_misc_alloc_create_parser_with_encoding() to work in UTF-16

This commit is contained in:
Rhodri James 2017-08-22 18:57:50 +01:00 committed by Sebastian Pipping
parent 1f5814a9bf
commit d2ba5ef545

View File

@ -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;
}