diff --git a/src/core/arm/jit_x64/jit_x64.h b/src/core/arm/jit_x64/jit_x64.h index d8e745266..7d75461ed 100644 --- a/src/core/arm/jit_x64/jit_x64.h +++ b/src/core/arm/jit_x64/jit_x64.h @@ -32,7 +32,7 @@ struct LocationDescriptor { struct LocationDescriptorHash { size_t operator()(const LocationDescriptor& x) const { - return std::hash()((u64)x.arm_pc ^ ((u64)x.TFlag << 32) ^ ((u64)x.EFlag << 33)); + return std::hash()(static_cast(x.arm_pc) ^ (static_cast(x.TFlag) << 32) ^ (static_cast(x.EFlag) << 33)); } };