From 449b2247fdbe3cd3c424637ec7d6973caa697f0f Mon Sep 17 00:00:00 2001 From: louist103 <35883445+louist103@users.noreply.github.com> Date: Thu, 30 Jul 2020 15:50:18 -0400 Subject: Math Sizes (#297) * Math Sizes Added sizes to most variable types * Removed sizes and fixed pads Removed sizes from base types and cleaned up pads * PR fixes --- src/code/fault.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/code/fault.c') diff --git a/src/code/fault.c b/src/code/fault.c index 892e110c9..c5972c3a3 100644 --- a/src/code/fault.c +++ b/src/code/fault.c @@ -882,7 +882,7 @@ void Fault_LogStackTrace(OSThread* thread, s32 height) { u32 ra = thread->context.ra; u32 pc = thread->context.pc; u32 addr; - u32 pad; + s32 pad; osSyncPrintf("STACK TRACE\nSP PC (VPC)\n"); for (line = 1; line < height && (ra != 0 || sp != 0) && pc != (u32)__osCleanupThread; line++) { @@ -955,7 +955,7 @@ void Fault_UpdatePad() { void Fault_ThreadEntry(void* arg) { OSMesg msg; OSThread* faultedThread; - u32 pad; + s32 pad; osSetEventMesg(OS_EVENT_CPU_BREAK, &sFaultStructPtr->queue, 1); osSetEventMesg(OS_EVENT_FAULT, &sFaultStructPtr->queue, 2); -- cgit v1.2.3