uint64_t => uintptr_t, fixes regression on x86 OSs