1 diff -ur icu.org/source/common/ubidiimp.h icu/source/common/ubidiimp.h
2 --- icu.org/source/common/ubidiimp.h 2019-10-03 13:16:41.000000000 +0200
3 +++ icu/source/common/ubidiimp.h 2019-10-28 19:08:13.533284618 +0100
5 /* in a Run, logicalStart will get this bit set if the run level is odd */
6 #define INDEX_ODD_BIT (1UL<<31)
8 -#define MAKE_INDEX_ODD_PAIR(index, level) ((index)|((int32_t)((level)&1)<<31))
9 -#define ADD_ODD_BIT_FROM_LEVEL(x, level) ((x)|=((int32_t)((level)&1)<<31))
10 +#define MAKE_INDEX_ODD_PAIR(index, level) ((index)|((uint32_t)((level)&1)<<31))
11 +#define ADD_ODD_BIT_FROM_LEVEL(x, level) ((x)|=((uint32_t)((level)&1)<<31))
12 #define REMOVE_ODD_BIT(x) ((x)&=~INDEX_ODD_BIT)
14 #define GET_INDEX(x) ((x)&~INDEX_ODD_BIT)