From dc8384e128103bc44d143c424902fc1bc3249541 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Mon, 25 Dec 2023 11:25:22 -0700 Subject: [PATCH] Fix some warnings --- retail/bootloader/source/arm7/find_arm9.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retail/bootloader/source/arm7/find_arm9.c b/retail/bootloader/source/arm7/find_arm9.c index 8da9338cb..ebf527b24 100644 --- a/retail/bootloader/source/arm7/find_arm9.c +++ b/retail/bootloader/source/arm7/find_arm9.c @@ -2032,14 +2032,14 @@ u32* findTwlSleepModeEndOffset(const tNDSHeader* ndsHeader) { if (!offset) { offset = (u32*)findOffsetThumb( - (u32*)ndsHeader->arm9destination, iUncompressedSize,//ndsHeader->arm9binarySize, + (u16*)ndsHeader->arm9destination, iUncompressedSize,//ndsHeader->arm9binarySize, twlSleepModeEndSignatureThumbEarly, 7 ); } if (!offset) { offset = (u32*)findOffsetThumb( - (u32*)ndsHeader->arm9destination, iUncompressedSize,//ndsHeader->arm9binarySize, + (u16*)ndsHeader->arm9destination, iUncompressedSize,//ndsHeader->arm9binarySize, twlSleepModeEndSignatureThumb, 3 ); }