Closed ChrisJefferson closed 8 years ago
On ARM (maybe other systems), casting a 32-bit pointer to uint64_t is sign extended, so high pointers end up failing this check.
In practice, what we do is cast to uintptr_t, in the next line, so let's actually assert against that.
Fixes 32-bit ARM
On ARM (maybe other systems), casting a 32-bit pointer to uint64_t is sign extended, so high pointers end up failing this check.
In practice, what we do is cast to uintptr_t, in the next line, so let's actually assert against that.
Fixes 32-bit ARM