From ff46a1997c8af4e1b66fdd1a2426bdd526df94a9 Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Tue, 22 Aug 2017 18:00:34 +0100 Subject: [PATCH] Fix accumulate_entity_decl() to work in UTF-16 builds --- expat/tests/runtests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 1f23cfbe..b1de4d8f 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -6618,9 +6618,9 @@ accumulate_entity_decl(void *userData, CharData *storage = (CharData *)userData; CharData_AppendXMLChars(storage, entityName, -1); - CharData_AppendXMLChars(storage, "=", 1); + CharData_AppendXMLChars(storage, XCS("="), 1); CharData_AppendXMLChars(storage, value, value_length); - CharData_AppendXMLChars(storage, "\n", 1); + CharData_AppendXMLChars(storage, XCS("\n"), 1); } -- 2.40.0