ICU-103 fixed LMBCS to Unicode converter for platforms where UChar32 is signed
X-SVN-Rev: 1855
This commit is contained in:
parent
77cdb20da3
commit
4efa05993b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user