ICU-103 fixed LMBCS to Unicode converter for platforms where UChar32 is signed

X-SVN-Rev: 1855
This commit is contained in:
Vladimir Weinstein 2000-07-13 18:32:49 +00:00
parent 77cdb20da3
commit 4efa05993b

View File

@ -1133,7 +1133,7 @@ _LMBCSGetNextUCharWorker(UConverterToUnicodeArgs* args,
}
}
}
if ((uniChar - 0xfffd) <= 2) /* 0xfffd<=uniChar<=0xffff, was: uniChar == missingUCharMarker */
if (((uint32_t)uniChar - 0xfffd) <= 2) /* 0xfffd<=uniChar<=0xffff, was: uniChar == missingUCharMarker */
{
/*It is very likely that the ErrorFunctor will write to the
*internal buffers */