diff options
Diffstat (limited to 'arm9/src')
-rw-r--r-- | arm9/src/unk_02002F08.c | 4 | ||||
-rw-r--r-- | arm9/src/unk_02021934.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arm9/src/unk_02002F08.c b/arm9/src/unk_02002F08.c index bb98bfdb..b81da622 100644 --- a/arm9/src/unk_02002F08.c +++ b/arm9/src/unk_02002F08.c @@ -5,7 +5,7 @@ #include "string16.h" #include "unk_0201B8B8.h" -THUMB_FUNC int FUN_02002F08(u32 param0, struct String *str, u32 param2) +THUMB_FUNC s32 FUN_02002F08(u32 param0, struct String *str, u32 param2) { GF_ASSERT(UNK_02106FC8->unk94[param0] != NULL); @@ -52,7 +52,7 @@ THUMB_FUNC u32 FUN_02002F90(struct String *str) return FUN_02002F58(String_c_str(str)); } -THUMB_FUNC int FUN_02002F9C(u32 param0, struct String *str) +THUMB_FUNC s32 FUN_02002F9C(u32 param0, struct String *str) { GF_ASSERT(UNK_02106FC8->unk94[param0] != NULL); diff --git a/arm9/src/unk_02021934.c b/arm9/src/unk_02021934.c index ebc600fa..b12e2d8f 100644 --- a/arm9/src/unk_02021934.c +++ b/arm9/src/unk_02021934.c @@ -10,9 +10,9 @@ void StrAddChar(struct String * str, u16 val); -int StringGetWidth(struct UnkStruct_0202199C * r7, const u16 * arr, u32 r6) +s32 StringGetWidth(struct UnkStruct_0202199C * r7, const u16 * arr, u32 r6) { - int ret = 0; + s32 ret = 0; u32 r4 = 0; while (*arr != 0xFFFF) { @@ -38,9 +38,9 @@ int StringGetWidth(struct UnkStruct_0202199C * r7, const u16 * arr, u32 r6) return ret; } -int StringGetWidth_SingleLine_HandleClearToControlCode(struct UnkStruct_0202199C * r6, const u16 * arr) +s32 StringGetWidth_SingleLine_HandleClearToControlCode(struct UnkStruct_0202199C * r6, const u16 * arr) { - int ret = 0; + s32 ret = 0; while (*arr != 0xFFFF) { if (*arr == 0xFFFE) |