Use SDL_zeroa() appropriately
diff --git a/src/joystick/windows/SDL_dinputjoystick.c b/src/joystick/windows/SDL_dinputjoystick.c
index 7182bf8..13bd615 100644
--- a/src/joystick/windows/SDL_dinputjoystick.c
+++ b/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,