Use strict typing

This commit is contained in:
Fredrik Holmqvist
2018-08-01 18:28:06 +02:00
parent 004094b574
commit 9832d1f89a
@@ -243,7 +243,7 @@ public:
protected: protected:
virtual uint32 ComputeHashValue() const virtual uint32 ComputeHashValue() const
{ {
uint32 hash = *(uint32*)(&fInfo); uint32 hash = reinterpret_cast<addr_t>(fInfo);
hash = hash * 19 + StringUtils::HashValue(fInfo->Expression()); hash = hash * 19 + StringUtils::HashValue(fInfo->Expression());
return hash; return hash;