summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-05 21:31:56 +0200
committerLioncash <mathew1800@gmail.com>2019-04-05 21:35:46 +0200
commit93b84e9308935cdd228df43febab577edd75480d (patch)
tree7387e722a8345f8a5c65d5343cb0363b13e338f8 /src/common
parentcommon/bit_util: Make CountLeading/CountTrailing functions have the same return types (diff)
downloadyuzu-93b84e9308935cdd228df43febab577edd75480d.tar
yuzu-93b84e9308935cdd228df43febab577edd75480d.tar.gz
yuzu-93b84e9308935cdd228df43febab577edd75480d.tar.bz2
yuzu-93b84e9308935cdd228df43febab577edd75480d.tar.lz
yuzu-93b84e9308935cdd228df43febab577edd75480d.tar.xz
yuzu-93b84e9308935cdd228df43febab577edd75480d.tar.zst
yuzu-93b84e9308935cdd228df43febab577edd75480d.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/multi_level_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/multi_level_queue.h b/src/common/multi_level_queue.h
index 2b61b91e0..9cb448f56 100644
--- a/src/common/multi_level_queue.h
+++ b/src/common/multi_level_queue.h
@@ -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();