From 78e528d6fb61068bf1320073c7a440ad2d920b2f Mon Sep 17 00:00:00 2001 From: Roman971 <32455037+Roman971@users.noreply.github.com> Date: Sun, 2 Oct 2022 23:40:09 +0200 Subject: Various minor fixes (#1383) * Swap REGION_US and REGION_JP * Fix a few missing EXCH_ITEM enum values * Remove unnecessary casts on alloc functions * Fix a double slash in the spec file * Swap top and bottom args in StackCheck_Init * Remove some unnecessary & in array references * Run formatter * Fix the comments for US and JP codes --- src/code/z_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/code/z_debug.c') diff --git a/src/code/z_debug.c b/src/code/z_debug.c index 45e8dc4df..f654b0d69 100644 --- a/src/code/z_debug.c +++ b/src/code/z_debug.c @@ -96,7 +96,7 @@ char sRegGroupChars[REG_GROUPS] = { void func_800636C0(void) { s32 i; - gGameInfo = (GameInfo*)SystemArena_MallocDebug(sizeof(GameInfo), "../z_debug.c", 260); + gGameInfo = SystemArena_MallocDebug(sizeof(GameInfo), "../z_debug.c", 260); gGameInfo->regPage = 0; gGameInfo->regGroup = 0; gGameInfo->regCur = 0; -- cgit v1.2.3