1 fix build failure. Reported in
2 https://unicode-org.atlassian.net/projects/ICU/issues/ICU-20236
4 --- icu/source/test/intltest/strtest.cpp.orig
5 +++ icu/source/test/intltest/strtest.cpp
8 StringPiece abc3(u8"abcdef", 3);
9 assertEquals("abc3.length", 3, abc3.length());
10 - assertEquals("abc3[0]", 0x61, abc3.data()[0]);
11 - assertEquals("abc3[1]", 0x62, abc3.data()[1]);
12 - assertEquals("abc3[2]", 0x63, abc3.data()[2]);
13 + assertEquals("abc3[0]", 0x61, (int)abc3.data()[0]);
14 + assertEquals("abc3[1]", 0x62, (int)abc3.data()[1]);
15 + assertEquals("abc3[2]", 0x63, (int)abc3.data()[2]);
21 xyz.set(u8"xyzXYZ", 3);
22 assertEquals("xyz.length", 3, xyz.length());
23 - assertEquals("xyz[0]", 0x78, xyz.data()[0]);
24 - assertEquals("xyz[1]", 0x79, xyz.data()[1]);
25 - assertEquals("xyz[2]", 0x7a, xyz.data()[2]);
26 + assertEquals("xyz[0]", 0x78, (int)xyz.data()[0]);
27 + assertEquals("xyz[1]", 0x79, (int)xyz.data()[1]);
28 + assertEquals("xyz[2]", 0x7a, (int)xyz.data()[2]);
30 StringPiece null(nullptr);
31 assertTrue("null is empty", null.empty());