]> granicus.if.org Git - libexpat/commitdiff
Fix context_realloc_test() to work in UTF-16 builds
authorRhodri James <rhodri@kynesim.co.uk>
Wed, 23 Aug 2017 11:11:29 +0000 (12:11 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 29 Aug 2017 21:13:15 +0000 (23:13 +0200)
expat/tests/runtests.c

index 4c7c2224fdc0d1e0e04ccfbe28928ad0762f37e6..c3bb0ad65f25d4446fd9d1732f37dd7e1fb817bc 100644 (file)
@@ -11326,8 +11326,8 @@ static void
 context_realloc_test(const char *text)
 {
     ExtOption options[] = {
-        { "foo", "<!ELEMENT e EMPTY>"},
-        { "bar", "<e/>" },
+        { XCS("foo"), "<!ELEMENT e EMPTY>"},
+        { XCS("bar"), "<e/>" },
         { NULL, NULL }
     };
     int i;