ICU-348 do not do signed arithmetic with unsigned types, because you'll

be surprised by the results!

X-SVN-Rev: 1078
This commit is contained in:
Yves Arrouye 2000-04-05 23:17:50 +00:00
parent 270334248b
commit 3f818deeaa

View File

@ -1162,7 +1162,7 @@ void Normalizer::jamoToHangul(UnicodeString& buffer, UTextOffset start) {
UTextOffset limit = buffer.length() - 1;
UTextOffset in;
uint16_t l, v, t;
int16_t l, v, t;
for (in = start; in < limit; in++) {
UChar ch = buffer[in];