mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-15 01:42:26 +00:00
common/multi_level_queue: Silence truncation warning in iterator operator++
This commit is contained in:
parent
33db37e669
commit
93b84e9308
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public:
|
||||||
u64 prios = mlq.used_priorities;
|
u64 prios = mlq.used_priorities;
|
||||||
prios &= ~((1ULL << (current_priority + 1)) - 1);
|
prios &= ~((1ULL << (current_priority + 1)) - 1);
|
||||||
if (prios == 0) {
|
if (prios == 0) {
|
||||||
current_priority = mlq.depth();
|
current_priority = static_cast<u32>(mlq.depth());
|
||||||
} else {
|
} else {
|
||||||
current_priority = CountTrailingZeroes64(prios);
|
current_priority = CountTrailingZeroes64(prios);
|
||||||
it = GetBeginItForPrio();
|
it = GetBeginItForPrio();
|
||||||
|
|
Loading…
Reference in a new issue