From 3f818deeaaf10db2205eaa6cd31772d103a91a1f Mon Sep 17 00:00:00 2001 From: Yves Arrouye Date: Wed, 5 Apr 2000 23:17:50 +0000 Subject: [PATCH] ICU-348 do not do signed arithmetic with unsigned types, because you'll be surprised by the results! X-SVN-Rev: 1078 --- icu4c/source/common/normlzr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/normlzr.cpp b/icu4c/source/common/normlzr.cpp index 29749e9315..0b3df351ef 100644 --- a/icu4c/source/common/normlzr.cpp +++ b/icu4c/source/common/normlzr.cpp @@ -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];