Fix test_misc_alloc_create_parser_with_encoding() to work in UTF-16
This commit is contained in:
parent
1f5814a9bf
commit
d2ba5ef545
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user