intptr_t changed to uintptr_t