diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-11-22 19:04:56 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-11-22 19:04:56 -0500 |
| commit | c46adebdb9d06e870ce2a27fa61646c2797fe990 (patch) | |
| tree | 23fc2b8e512ac1e6fd43bfbb164cd79fd591863b /src/JSystem/JKernel/JKRThread.cpp | |
| parent | 12c83739e9889b8a799c83f038db1f07ac36ce54 (diff) | |
Fix more clangd errors
This also seems to fix the problem where clangd failed to index most header files, which was due to the typo in JGeometry.h.
Diffstat (limited to 'src/JSystem/JKernel/JKRThread.cpp')
| -rw-r--r-- | src/JSystem/JKernel/JKRThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JSystem/JKernel/JKRThread.cpp b/src/JSystem/JKernel/JKRThread.cpp index cc9c7840..9b7d1dc0 100644 --- a/src/JSystem/JKernel/JKRThread.cpp +++ b/src/JSystem/JKernel/JKRThread.cpp @@ -25,7 +25,7 @@ JKRThread::JKRThread(u32 stack_size, int message_count, int param_3) : mThreadLi mThreadRecord = (OSThread*)JKRAllocFromHeap(mHeap, sizeof(OSThread), 0x20); void* stackBase = (void*)((int)mStackMemory + mStackSize); - OSCreateThread(mThreadRecord, start, this, stackBase, mStackSize, param_3, 1); + OSCreateThread(mThreadRecord, (void*)start, this, stackBase, mStackSize, param_3, 1); mMessageCount = message_count; mMessages = (OSMessage*)JKRAllocFromHeap(mHeap, mMessageCount * sizeof(OSMessage), 0); @@ -135,4 +135,4 @@ void JKRThreadSwitch::callback(OSThread* current, OSThread* next) { static void dummy() { OSReport("Cannot create JKRTask Manager."); OSReport("sManager != 0"); -}
\ No newline at end of file +} |
