2 https://unicode-org.atlassian.net/projects/ICU/issues/ICU-20236
4 --- icu/source/test/intltest/convtest.cpp.orig
5 +++ icu/source/test/intltest/convtest.cpp
7 assertEquals("overflow", U_BUFFER_OVERFLOW_ERROR, errorCode.reset());
8 length = (int32_t)(target - result);
9 assertEquals("number of bytes written", 2, length);
10 - assertEquals("next byte not clobbered", 5, result[2]);
11 + assertEquals("next byte not clobbered", 5, (int)result[2]);
13 // Convert the rest and flush.
14 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(),
16 assertEquals("text2 overflow", U_BUFFER_OVERFLOW_ERROR, errorCode.reset());
17 length = (int32_t)(target - result);
18 assertEquals("text2 number of bytes written", 3, length);
19 - assertEquals("text2 next byte not clobbered", 5, result[3]);
20 + assertEquals("text2 next byte not clobbered", 5, (int)result[3]);
22 // Convert the rest and flush.
23 ucnv_convertEx(cnv2.getAlias(), cnv1.getAlias(),