summaryrefslogtreecommitdiff
path: root/src/JSystem/JKernel/JKRThread.cpp
diff options
context:
space:
mode:
authorkipcode66 <kipcode66@gmail.com>2025-12-21 20:48:09 -0500
committerGitHub <noreply@github.com>2025-12-21 17:48:09 -0800
commit4045f16667fe6903243801e1155d086ae8df27b1 (patch)
treebaa2a62646926e1f2d4c994c95931bcc4d66e5f0 /src/JSystem/JKernel/JKRThread.cpp
parentb4f931f75f5d87fc7844e00eab7d7b99eceb3622 (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.cpp2
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);
}