summaryrefslogtreecommitdiff
path: root/src/f_op
diff options
context:
space:
mode:
authorJcw87 <Jcw87@users.noreply.github.com>2025-04-29 09:49:09 -0700
committerGitHub <noreply@github.com>2025-04-29 12:49:09 -0400
commit5e7b59f2fe2f0a7e39d2b7ba6f9e19f3bbdf3254 (patch)
tree07cf9ad7a5f7bf7423c0a520b8d64d024990136d /src/f_op
parenteef20535ac9416dcdc8164ecb2c9d4b7bb50f365 (diff)
Improve compiler compatibility (#743)
* fix returns * use standard C headers * struct/class mismatch * explicit this in template * switch variable scope * C standard compliance * & l-value
Diffstat (limited to 'src/f_op')
-rw-r--r--src/f_op/f_op_msg_mng.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/f_op/f_op_msg_mng.cpp b/src/f_op/f_op_msg_mng.cpp
index b6b1b429..fbfb1695 100644
--- a/src/f_op/f_op_msg_mng.cpp
+++ b/src/f_op/f_op_msg_mng.cpp
@@ -144,8 +144,7 @@ static struct {
/* 0x3B */ {PRESIDENT_STATUE, "beast_12.bti"},
};
-class mesg_header;
-class fopMsgM_pane_alpha_class;
+struct fopMsgM_pane_alpha_class;
/* 8002ABB4-8002AC1C .text drawSelf__9MyPictureFff */
@@ -647,6 +646,7 @@ char* fopMsgM_messageGet(char* dst, u32 msgNo) {
}
dst[numRead] = '\0';
+ return dst;
}
/* 8002BE04-8002C02C .text fopMsgM_passwordGet__FPcUl */