pointer type replaced from uint to uintptr_t