ICU-2000 Fix some compiler warnings (fix by Vladimir)

X-SVN-Rev: 10538
This commit is contained in:
George Rhoten 2002-12-06 20:05:09 +00:00
parent 648e15db05
commit 6b0a7a05e8

View File

@ -4832,7 +4832,7 @@ ucol_addLatinOneEntry(UCollator *coll, UChar ch, uint32_t CE,
*primShift -= 8;
}
if(primary2 != 0) {
if(primShift < 0) {
if(*primShift < 0) {
coll->latinOneCEs[ch] = UCOL_BAIL_OUT_CE;
coll->latinOneCEs[coll->latinOneTableLen+ch] = UCOL_BAIL_OUT_CE;
coll->latinOneCEs[2*coll->latinOneTableLen+ch] = UCOL_BAIL_OUT_CE;