From 9832d1f89a33479d87946824653d25b68e6d3467 Mon Sep 17 00:00:00 2001 From: Fredrik Holmqvist Date: Wed, 1 Aug 2018 18:28:06 +0200 Subject: [PATCH] Use strict typing --- .../debugger/user_interface/gui/team_window/VariablesView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;