ICU-255 Needed a typecast before calling CompactArray.
X-SVN-Rev: 719
This commit is contained in:
parent
fcb670fe5e
commit
9b992c0c1f
@ -3069,7 +3069,7 @@ UChar T_UConverter_getNextUChar_DBCS(UConverter* converter,
|
||||
|
||||
/*Gets the corresponding codepoint*/
|
||||
myUChar = ucmp16_getu(converter->sharedData->table->dbcs.toUnicode,
|
||||
((UChar)((**source)) << 8) |((uint8_t)*((*source)+1)));
|
||||
(uint16_t)(((UChar)((**source)) << 8) |((uint8_t)*((*source)+1))));
|
||||
|
||||
/*update the input pointer*/
|
||||
*source += 2;
|
||||
@ -3135,8 +3135,8 @@ UChar T_UConverter_getNextUChar_MBCS(UConverter* converter,
|
||||
return 0xFFFD;
|
||||
}
|
||||
|
||||
myUChar = ucmp16_getu(converter->sharedData->table->mbcs.toUnicode,
|
||||
((UChar)((**source)) << 8) |((uint8_t)*((*source)+1)));
|
||||
myUChar = ucmp16_getu(converter->sharedData->table->mbcs.toUnicode,
|
||||
(uint16_t)(((UChar)((**source)) << 8) |((uint8_t)*((*source)+1))));
|
||||
|
||||
(*source) += 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user