Merge pull request #4796 from lioncash/clang

core: Fix clang build
This commit is contained in:
LC 2020-10-20 19:19:12 -04:00 committed by GitHub
commit 88d5140cf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
105 changed files with 906 additions and 667 deletions

View file

@ -171,7 +171,7 @@ struct KernelCore::Impl {
const auto type =
static_cast<ThreadType>(THREADTYPE_KERNEL | THREADTYPE_HLE | THREADTYPE_SUSPEND);
auto thread_res =
Thread::Create(system, type, std::move(name), 0, 0, 0, static_cast<u32>(i), 0,
Thread::Create(system, type, std::move(name), 0, 0, 0, static_cast<s32>(i), 0,
nullptr, std::move(init_func), init_func_parameter);
suspend_threads[i] = std::move(thread_res).Unwrap();