From 6dce9733d98972817e968dee5edd216d31450b2e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 22 Nov 2019 16:23:37 -0800 Subject: [PATCH] Use SDL_zeroa() appropriately --- src/joystick/windows/SDL_dinputjoystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/windows/SDL_dinputjoystick.c b/src/joystick/windows/SDL_dinputjoystick.c index 7182bf827..13bd615be 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,