diff --git a/src/client/game/game.cpp b/src/client/game/game.cpp index 7250a2dd..528c9702 100644 --- a/src/client/game/game.cpp +++ b/src/client/game/game.cpp @@ -15,7 +15,7 @@ namespace game throw std::runtime_error("Invalid host application"); } - return size_t(host.get_ptr()); + return reinterpret_cast(host.get_ptr()); }(); return base; }