core: fix warnings

This commit is contained in:
SachinVin committed 2023-06-17 21:23:58 +05:30
1 parent 796e8a9f24
commit 8eb89c260d
12 files changed
+55 -42

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include <algorithm>
#include <climits>
#include <list>
#include <vector>
#include <boost/serialization/string.hpp>
@@ -288,7 +289,7 @@ void ThreadManager::DebugThreadQueue() {
for (auto& t : thread_list) {
u32 priority = ready_queue.contains(t.get());
if (priority != -1) {
if (priority != UINT_MAX) {
LOG_DEBUG(Kernel, "0x{:02X} {}", priority, t->GetObjectId());
}
}