diff options
author | camthesaxman <cameronghall@cox.net> | 2017-07-07 19:21:47 -0500 |
---|---|---|
committer | camthesaxman <cameronghall@cox.net> | 2017-07-07 19:21:47 -0500 |
commit | 196f2a1c24016eae8b9fad6d57cabd43d34f898e (patch) | |
tree | b0ee8b8c43246dad85e84ec98413cc91de4a5f6e | |
parent | ee0d3f82b512ac3b3db3898c021c3eeccaedb380 (diff) |
fix build
-rw-r--r-- | src/player_pc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/player_pc.c b/src/player_pc.c index 38e01b92e..2ba56d796 100644 --- a/src/player_pc.c +++ b/src/player_pc.c @@ -935,36 +935,36 @@ weirdCase: static void ItemStorage_PrintItemPcResponse(u16 itemId) { - u8 *string; + const u8 *string; switch(itemId) { case ITEMPC_GO_BACK_TO_PREV: - string = (u8 *)gMenuText_GoBackToPrev; + string = gMenuText_GoBackToPrev; break; case ITEMPC_HOW_MANY_TO_WITHDRAW: - string = (u8 *)gOtherText_HowManyToWithdraw; + string = gOtherText_HowManyToWithdraw; break; case ITEMPC_WITHDREW_THING: - string = (u8 *)gOtherText_WithdrewThing; + string = gOtherText_WithdrewThing; break; case ITEMPC_HOW_MANY_TO_TOSS: - string = (u8 *)gOtherText_HowManyToToss; + string = gOtherText_HowManyToToss; break; case ITEMPC_THREW_AWAY_ITEM: - string = (u8 *)gOtherText_ThrewAwayItem; + string = gOtherText_ThrewAwayItem; break; case ITEMPC_NO_MORE_ROOM: - string = (u8 *)gOtherText_NoMoreRoom; + string = gOtherText_NoMoreRoom; break; case ITEMPC_TOO_IMPORTANT: - string = (u8 *)gOtherText_TooImportant; + string = gOtherText_TooImportant; break; case ITEMPC_OKAY_TO_THROW_AWAY: - string = (u8 *)gOtherText_OkayToThrowAwayPrompt; + string = gOtherText_OkayToThrowAwayPrompt; break; case ITEMPC_SWITCH_WHICH_ITEM: - string = (u8 *)gOtherText_SwitchWhichItem; + string = gOtherText_SwitchWhichItem; break; default: string = ItemId_GetDescription(itemId); |