Browse Source

Fixed compiler warning

Sam Lantinga 5 years ago
parent
commit
9b879a08aa
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/joystick/hidapi/SDL_hidapi_steam.c

+ 2 - 1
src/joystick/hidapi/SDL_hidapi_steam.c

@@ -1166,7 +1166,8 @@ SDL_HIDAPI_DeviceDriver SDL_HIDAPI_DriverSteam =
     HIDAPI_DriverSteam_OpenJoystick,
     HIDAPI_DriverSteam_RumbleJoystick,
     HIDAPI_DriverSteam_CloseJoystick,
-    HIDAPI_DriverSteam_FreeDevice
+    HIDAPI_DriverSteam_FreeDevice,
+	NULL
 };
 
 #endif /* SDL_JOYSTICK_HIDAPI_STEAM */