Skip to content

Commit

Permalink
Use SDL_zeroa() appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 23, 2019
1 parent 733f252 commit 6dce973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/windows/SDL_dinputjoystick.c
Expand Up @@ -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,
Expand Down

0 comments on commit 6dce973

Please sign in to comment.