Skip to content

Commit d94a5cb

Browse files
committed
[win] Compilation fix for MinGW-w64
1 parent 2a28c51 commit d94a5cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hid.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void sdl_poll_events(void) {
3333

3434
if (!pad_mount(
3535
event.jdevice.which,
36-
joystick,
36+
(void*)joystick,
3737
0,
3838
SDL_GetJoystickVendor(joystick),
3939
SDL_GetJoystickProduct(joystick))) {
@@ -57,7 +57,7 @@ void sdl_poll_events(void) {
5757

5858
if (!pad_mount(
5959
event.gdevice.which,
60-
gamepad,
60+
(void*)gamepad,
6161
0,
6262
SDL_GetGamepadVendor(gamepad),
6363
SDL_GetGamepadProduct(gamepad))) {

0 commit comments

Comments
 (0)