mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
SWORD25: Fixed warning - restored to previous code
This commit is contained in:
parent
e632a94cd4
commit
3081c362c6
@ -134,7 +134,7 @@ protected:
|
||||
};
|
||||
struct ClassPointer_Hash {
|
||||
uint operator()(const T *x) const {
|
||||
return (uint)(x - (const T *)0);
|
||||
return *(uint *)&x;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user