common/multi_level_queue: Silence truncation warning in iterator operator++

This commit is contained in:
Lioncash committed 2019-04-05 15:35:46 -04:00
1 parent 33db37e669
commit 93b84e9308
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ public:
u64 prios = mlq.used_priorities;
prios &= ~((1ULL << (current_priority + 1)) - 1);
if (prios == 0) {
current_priority = mlq.depth();
current_priority = static_cast<u32>(mlq.depth());
} else {
current_priority = CountTrailingZeroes64(prios);
it = GetBeginItForPrio();