Use a more portable cast.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42173 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4b2adaae5f
commit
aa08883069
@ -53,7 +53,7 @@ _Align(int32 offset)
|
||||
static inline void*
|
||||
_Align(void* address, int32 offset = 0)
|
||||
{
|
||||
return (void*)(((uint32)address + offset + 3) & ~0x3);
|
||||
return (void*)(((addr_t)address + offset + 3) & ~0x3);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user