From 84c40c5e616725516a811375bd191bc78ade5787 Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Wed, 23 Aug 2017 11:41:57 +0100 Subject: [PATCH] Fix unknown_released_encoding_handler() 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 33615e94..7d912ae5 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -8682,7 +8682,7 @@ unknown_released_encoding_handler(void *UNUSED_P(data), const XML_Char *encoding, XML_Encoding *info) { - if (!strcmp(encoding, "unsupported-encoding")) { + if (!xcstrcmp(encoding, XCS("unsupported-encoding"))) { int i; for (i = 0; i < 256; i++)