ICU-7703 fix operator precedence like in C++ r28115

X-SVN-Rev: 28116
This commit is contained in:
Markus Scherer 2010-05-31 17:42:01 +00:00
parent 77543b3e58
commit b3cff02501

View File

@ -1673,7 +1673,7 @@ public final class Normalizer2Impl {
} else {
// trail character is 3400..10FFFF
// result entry has 3 units
key1=COMP_1_TRAIL_LIMIT+((trail>>COMP_1_TRAIL_SHIFT))&~COMP_1_TRIPLE;
key1=COMP_1_TRAIL_LIMIT+(((trail>>COMP_1_TRAIL_SHIFT))&~COMP_1_TRIPLE);
int key2=(trail<<COMP_2_TRAIL_SHIFT)&0xffff;
int secondUnit;
for(;;) {