From ec1c5c29a9b54bd98d35ccbac1e08d0e0dd438de Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Tue, 22 Aug 2017 15:57:58 +0100 Subject: [PATCH] Fix start_element_suspender() to work for 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 fa380184..e64be832 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -5236,7 +5236,7 @@ start_element_suspender(void *UNUSED_P(userData), const XML_Char *name, const XML_Char **UNUSED_P(atts)) { - if (!strcmp(name, "suspend")) + if (!xcstrcmp(name, XCS("suspend"))) XML_StopParser(parser, XML_TRUE); } -- 2.40.0