mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-12 08:24:08 +00:00
ICU-214 Fix for Win64. Do the math in size_t when part of the expression is in size_t and the other side is (void *)
X-SVN-Rev: 8288
This commit is contained in:
parent
363d8dbc60
commit
153b72da68
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ typedef union {
|
|||
* Get the amount of bytes that a pointer is off by from
|
||||
* the previous aligned pointer
|
||||
*/
|
||||
#define U_ALIGNMENT_OFFSET(ptr) (((long)ptr) & (sizeof(UAlignedMemory) - 1))
|
||||
#define U_ALIGNMENT_OFFSET(ptr) (((size_t)ptr) & (sizeof(UAlignedMemory) - 1))
|
||||
|
||||
/**
|
||||
* Get the amount of bytes to add to a pointer
|
||||
|
|
Loading…
Add table
Reference in a new issue