mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 11:47:50 +00:00
Build: Fixed some MSVC warnings in various parts of the code.
This commit is contained in:
parent
1092153a6a
commit
cb4ff57322
12 changed files with 24 additions and 22 deletions
|
@ -372,7 +372,7 @@ union Instruction {
|
|||
BitField<31, 4, u64> component_mask;
|
||||
|
||||
bool IsComponentEnabled(size_t component) const {
|
||||
return ((1 << component) & component_mask) != 0;
|
||||
return ((1ull << component) & component_mask) != 0;
|
||||
}
|
||||
} tex;
|
||||
|
||||
|
@ -391,7 +391,7 @@ union Instruction {
|
|||
|
||||
ASSERT(component_mask_selector < mask.size());
|
||||
|
||||
return ((1 << component) & mask[component_mask_selector]) != 0;
|
||||
return ((1ull << component) & mask[component_mask_selector]) != 0;
|
||||
}
|
||||
} texs;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue