Browse Source

Use SDL_zeroa() appropriately

Sam Lantinga 5 years ago
parent
commit
6dce9733d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/joystick/windows/SDL_dinputjoystick.c

+ 1 - 1
src/joystick/windows/SDL_dinputjoystick.c

@@ -259,7 +259,7 @@ WIN_IsXInputDevice(const GUID* pGuidProductFromDirectInput)
     VARIANT                 var;
     HRESULT                 hr;
 
-    SDL_zero(pDevices);
+    SDL_zeroa(pDevices);
 
     // Create WMI
     hr = CoCreateInstance(&CLSID_WbemLocator,