ICU-3223 Make the constant number in U_MAX_PTR an unsigned constant
X-SVN-Rev: 12973
This commit is contained in:
parent
56cf6a3bb2
commit
488f8be9e3
@ -440,7 +440,7 @@ uprv_isInvariantUString(const UChar *s, int32_t length);
|
||||
*/
|
||||
# define U_MAX_PTR(base) ((void *)(((char *)base)-((int32_t)(base))+((int32_t)0xffefff)))
|
||||
# else
|
||||
# define U_MAX_PTR(base) ((void *)(((char *)(base)+0x7fffffff) > (char *)(base) ? ((char *)(base)+0x7fffffff) : (char *)-1))
|
||||
# define U_MAX_PTR(base) ((void *)(((char *)(base)+0x7fffffffu) > (char *)(base) ? ((char *)(base)+0x7fffffffu) : (char *)-1))
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user