diff --git a/include/functions.h b/include/functions.h index cd5f12d320..7541d16a6c 100644 --- a/include/functions.h +++ b/include/functions.h @@ -51,7 +51,7 @@ void Mio0_Decompress(Yaz0Header* hdr, u8* dst); void StackCheck_Init(StackEntry* entry, void* stackTop, void* stackBottom, u32 initValue, s32 minSpace, const char* name); void StackCheck_Cleanup(StackEntry* entry); -StackStatus StackCheck_GetState(StackEntry* entry); +s32 StackCheck_GetState(StackEntry* entry); u32 StackCheck_CheckAll(void); u32 StackCheck_Check(StackEntry* entry); f32 LogUtils_CheckFloatRange(const char* exp, s32 line, const char* valueName, f32 value, const char* minName, f32 min, diff --git a/src/boot/stackcheck.c b/src/boot/stackcheck.c index 8451566787..f9d0c6c87d 100644 --- a/src/boot/stackcheck.c +++ b/src/boot/stackcheck.c @@ -72,7 +72,7 @@ void StackCheck_Cleanup(StackEntry* entry) { } } -StackStatus StackCheck_GetState(StackEntry* entry) { +s32 StackCheck_GetState(StackEntry* entry) { u32* last; u32 used; u32 free;