diff options
| author | kipcode66 <kipcode66@gmail.com> | 2025-12-21 20:48:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-21 17:48:09 -0800 |
| commit | 4045f16667fe6903243801e1155d086ae8df27b1 (patch) | |
| tree | baa2a62646926e1f2d4c994c95931bcc4d66e5f0 /src/JSystem/JKernel/JKRThread.cpp | |
| parent | b4f931f75f5d87fc7844e00eab7d7b99eceb3622 (diff) | |
next round of standard compiler fixes (#2969)
* next round of standard compiler fixes
* Fix weak function order issue
* fix missmatch with ShieldD version
Diffstat (limited to 'src/JSystem/JKernel/JKRThread.cpp')
| -rw-r--r-- | src/JSystem/JKernel/JKRThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JSystem/JKernel/JKRThread.cpp b/src/JSystem/JKernel/JKRThread.cpp index a884fcf615..510ccd3132 100644 --- a/src/JSystem/JKernel/JKRThread.cpp +++ b/src/JSystem/JKernel/JKRThread.cpp @@ -82,7 +82,7 @@ void JKRThread::setCommon_heapSpecified(JKRHeap* heap, u32 stack_size, int param mStackMemory = JKRAllocFromHeap(mHeap, mStackSize, 0x20); mThreadRecord = (OSThread*)JKRAllocFromHeap(mHeap, sizeof(OSThread), 0x20); - void* stackBase = (void*)((int)mStackMemory + mStackSize); + void* stackBase = (void*)((intptr_t)mStackMemory + mStackSize); OSCreateThread(mThreadRecord, start, this, stackBase, mStackSize, param_3, 1); } |
