summaryrefslogtreecommitdiff
path: root/arm9
diff options
context:
space:
mode:
authorRémi Calixte <remicalixte.rmc@gmail.com>2021-06-23 19:51:13 +0200
committerRémi Calixte <remicalixte.rmc@gmail.com>2021-06-23 19:51:13 +0200
commitc5a2721fff4710a92cd68cb801f593f7e44357f1 (patch)
tree49b37975265caa4380b170c59c069ffea1710479 /arm9
parent4f67da10102f766b53bc209415649c8cd2e61b48 (diff)
int -> s32
Diffstat (limited to 'arm9')
-rw-r--r--arm9/src/unk_02002F08.c4
-rw-r--r--arm9/src/unk_02021934.c8
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)