summaryrefslogtreecommitdiff
path: root/src/tm_case.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-07-03 17:14:06 -0400
committerGitHub <noreply@github.com>2021-07-03 17:14:06 -0400
commit558097f42326f19044a6351004468a46d6ee0b38 (patch)
treeeacf63589e649f91a406811a47174c43fe46d599 /src/tm_case.c
parentbbf39b8560c752d6b7e94bf1fea9ac60dc79c902 (diff)
parent4a8bc916b101684b67a7df4dfbc4e1a97ec08a5b (diff)
Merge pull request #441 from Kurausukun/cast_test
Change itemPrintFunc to Use u32 Instead of s32
Diffstat (limited to 'src/tm_case.c')
-rw-r--r--src/tm_case.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tm_case.c b/src/tm_case.c
index c7aaa29cc..75fcd8925 100644
--- a/src/tm_case.c
+++ b/src/tm_case.c
@@ -75,7 +75,7 @@ static void CreateTMCaseListMenuBuffers(void);
static void InitTMCaseListMenuItems(void);
static void GetTMNumberAndMoveString(u8 * dest, u16 itemId);
static void TMCase_MoveCursorFunc(s32 itemIndex, bool8 onInit, struct ListMenu *list);
-static void TMCase_ItemPrintFunc(u8 windowId, s32 itemId, u8 y);
+static void TMCase_ItemPrintFunc(u8 windowId, u32 itemId, u8 y);
static void TMCase_MoveCursor_UpdatePrintedDescription(s32 itemIndex);
static void PrintListMenuCursorAt_WithColorIdx(u8 a0, u8 a1);
static void CreateTMCaseScrollIndicatorArrowPair_Main(void);
@@ -554,7 +554,7 @@ static void TMCase_MoveCursorFunc(s32 itemIndex, bool8 onInit, struct ListMenu *
TMCase_MoveCursor_UpdatePrintedTMInfo(itemId);
}
-static void TMCase_ItemPrintFunc(u8 windowId, s32 itemId, u8 y)
+static void TMCase_ItemPrintFunc(u8 windowId, u32 itemId, u8 y)
{
if (itemId != -2)
{