summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/menu.c2
-rw-r--r--src/pokedex.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/menu.c b/src/menu.c
index 61eaebb6f..db1724855 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -629,7 +629,7 @@ void MenuPrint_RightAligned(u8 *str, u8 left, u8 top)
sub_8004D38(gMenuWindowPtr, str, gMenuTextTileOffset, left, top);
}
-void sub_8072B80(u8 *a1, u8 a2, u8 a3, u8 *a4)
+void sub_8072B80(const u8 *a1, u8 a2, u8 a3, const u8 *a4)
{
u8 buffer[64];
u8 width = GetStringWidth(gMenuWindowPtr, a4);
diff --git a/src/pokedex.c b/src/pokedex.c
index ec13edac4..832a55666 100644
--- a/src/pokedex.c
+++ b/src/pokedex.c
@@ -3771,5 +3771,5 @@ void sub_8091304(u8 *name, u8 b, u8 c)
while (gDexText_UnknownPoke[j] != EOS)
str[i++] = gDexText_UnknownPoke[j++];
str[i] = EOS;
- sub_8072B80(str, b, c, (u8 *)gDexText_UnknownPoke);
+ sub_8072B80(str, b, c, gDexText_UnknownPoke);
}