mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 09:30:14 +00:00
fixup! JitX64::LocationDescriptorHash: Use static_cast
This commit is contained in:
parent
d7348adbba
commit
90a9e758bb
@ -32,7 +32,7 @@ struct LocationDescriptor {
|
|||||||
|
|
||||||
struct LocationDescriptorHash {
|
struct LocationDescriptorHash {
|
||||||
size_t operator()(const LocationDescriptor& x) const {
|
size_t operator()(const LocationDescriptor& x) const {
|
||||||
return std::hash<u64>()((u64)x.arm_pc ^ ((u64)x.TFlag << 32) ^ ((u64)x.EFlag << 33));
|
return std::hash<u64>()(static_cast<u64>(x.arm_pc) ^ (static_cast<u64>(x.TFlag) << 32) ^ (static_cast<u64>(x.EFlag) << 33));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user