yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

shader/control_flow: Silence Intellisense cast warnings

This commit is contained in:
ReinUsesLisp 2019-10-27 02:23:34 -03:00
parent deb1b54eed
commit ae7dfa93be
No known key found for this signature in database
GPG Key ID: 2DFC508897B39CFE
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ BlockInfo& CreateBlockInfo(CFGRebuildState& state, u32 start, u32 end) {
}
Pred GetPredicate(u32 index, bool negated) {
return static_cast<Pred>(index + (negated ? 8 : 0));
return static_cast<Pred>(static_cast<u64>(index) + (negated ? 8ULL : 0ULL));
}
/**