diff --git a/PowerUtils/xbox.h b/PowerUtils/xbox.h index 161eb1b..ff063a4 100644 --- a/PowerUtils/xbox.h +++ b/PowerUtils/xbox.h @@ -105,7 +105,7 @@ struct xpointer { } - xpointer(T* ptr) : ptr((uint32_t)ptr) + xpointer(T* ptr) : ptr(reinterpret_cast(ptr) - reinterpret_cast(MmGetHostAddress(0))) { }