diff --git a/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp b/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp index de156c9147..c397ae4267 100644 --- a/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp +++ b/src/apps/debugger/user_interface/gui/team_window/VariablesView.cpp @@ -243,7 +243,7 @@ public: protected: virtual uint32 ComputeHashValue() const { - uint32 hash = *(uint32*)(&fInfo); + uint32 hash = reinterpret_cast(fInfo); hash = hash * 19 + StringUtils::HashValue(fInfo->Expression()); return hash;