mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-21026 fix GCC warnings of signed-int left shift
This commit is contained in:
parent
73b50e6463
commit
72e07c0d52
1 changed files with 2 additions and 1 deletions
|
@ -412,7 +412,8 @@ storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length,
|
|||
int16_t delta = (int16_t)((int32_t)codepoint - (int16_t) mapping[0]);
|
||||
if(delta >= SPREP_DELTA_RANGE_NEGATIVE_LIMIT && delta <= SPREP_DELTA_RANGE_POSITIVE_LIMIT){
|
||||
|
||||
trieWord = delta << 2;
|
||||
trieWord = delta;
|
||||
trieWord <<= 2;
|
||||
|
||||
|
||||
/* make sure that the second bit is OFF */
|
||||
|
|
Loading…
Add table
Reference in a new issue