summaryrefslogtreecommitdiff
path: root/src/boot_O2/stackcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot_O2/stackcheck.c')
-rw-r--r--src/boot_O2/stackcheck.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot_O2/stackcheck.c b/src/boot_O2/stackcheck.c
index a938db3f4..50affc8bb 100644
--- a/src/boot_O2/stackcheck.c
+++ b/src/boot_O2/stackcheck.c
@@ -4,15 +4,15 @@
StackEntry* sStackInfoListStart = NULL;
StackEntry* sStackInfoListEnd = NULL;
-void StackCheck_Init(StackEntry* entry, u32 stackTop, u32 stackBottom, u32 initValue, s32 minSpace, char* name) {
+void StackCheck_Init(StackEntry* entry, void* stackTop, void* stackBottom, u32 initValue, s32 minSpace, const char* name) {
StackEntry* iter;
u32* addr;
if (!entry) {
sStackInfoListStart = NULL;
} else {
- entry->head = stackTop;
- entry->tail = stackBottom;
+ entry->head = (u32)stackTop;
+ entry->tail = (u32)stackBottom;
entry->initValue = initValue;
entry->minSpace = minSpace;
entry->name = name;