Skip to content

Commit 0ebf3d7

Browse files
committed
build fixes
1 parent 8f51aba commit 0ebf3d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/d/d_home_button.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ void dHomeButton_c::initCursorPos() {
147147

148148
void dHomeButton_c::calcCursorPos() {
149149
for (u32 i = 0; i < 4; i++) {
150-
WPADDeviceType sp8;
151-
WPADResult result = WPADProbe(i, &sp8);
150+
u32 sp8;
151+
s32 result = WPADProbe(i, &sp8);
152152

153153
if (result == -2 || result == -3 || result == 0) {
154154
m_controllerData.wiiCon[i].kpad = &mReCPd::m_pad[i].field_0x4[0];

src/revolution/vi/vi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
OSPanic(__FILE__, line, msg, arg1, arg2)
2121
#else
2222
#define VI_ASSERTMSGLINE1(line, cond, msg, arg1) (void)0
23-
#define VI_ASSERTMSGLINE2(line, cond, msg, arg1) (void)0
23+
#define VI_ASSERTMSGLINE2(line, cond, msg, arg1, arg2) (void)0
2424
#endif
2525

2626
// extern

0 commit comments

Comments
 (0)