瀏覽代碼

Fixed compiler warning

Sam Lantinga 5 年之前
父節點
當前提交
9b879a08aa
共有 1 個文件被更改,包括 2 次插入1 次删除
  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 */