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

index 4b885538b505ca68a773f8bef32c792377db6fba..766e5ffb2f96ac452251dbe3fcb56b2a203b37cd 100644 (file)
@@ -2323,7 +2323,7 @@ START_TEST(test_good_cdata_utf16_le)
                 " \0e\0n\0c\0o\0d\0i\0n\0g\0=\0'\0u\0t\0f\0-\0""1\0""6\0'"
                 "\0?\0>\0\n"
             "\0<\0a\0>\0<\0!\0[\0C\0D\0A\0T\0A\0[\0h\0e\0l\0l\0o\0]\0]\0>\0<\0/\0a\0>\0";
-    const char *expected = "hello";
+    const XML_Char *expected = XCS("hello");
 
     CharData storage;
     CharData_Init(&storage);