mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-18 10:47:58 -05:00
core: Fix clang build
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
This commit is contained in:
@ -33,7 +33,7 @@ struct ThreadQueueList {
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
return static_cast<Priority>(-1);
|
||||
}
|
||||
|
||||
[[nodiscard]] T get_first() const {
|
||||
@ -156,7 +156,7 @@ private:
|
||||
void link(Priority priority) {
|
||||
Queue* cur = &queues[priority];
|
||||
|
||||
for (int i = priority - 1; i >= 0; --i) {
|
||||
for (auto i = static_cast<int>(priority - 1); i >= 0; --i) {
|
||||
if (queues[i].next_nonempty != UnlinkedTag()) {
|
||||
cur->next_nonempty = queues[i].next_nonempty;
|
||||
queues[i].next_nonempty = cur;
|
||||
|
Reference in New Issue
Block a user