Use SDL_zeroa() appropriately
authorSam Lantinga <slouken@libsdl.org>
Fri, 22 Nov 2019 16:23:37 -0800
changeset 13278f0c01449a659
parent 13277 b72b5a030eee
child 13279 657865a3a43a
Use SDL_zeroa() appropriately
src/joystick/windows/SDL_dinputjoystick.c
     1.1 --- a/src/joystick/windows/SDL_dinputjoystick.c	Fri Nov 22 14:09:24 2019 -0800
     1.2 +++ b/src/joystick/windows/SDL_dinputjoystick.c	Fri Nov 22 16:23:37 2019 -0800
     1.3 @@ -259,7 +259,7 @@
     1.4      VARIANT                 var;
     1.5      HRESULT                 hr;
     1.6  
     1.7 -    SDL_zero(pDevices);
     1.8 +    SDL_zeroa(pDevices);
     1.9  
    1.10      // Create WMI
    1.11      hr = CoCreateInstance(&CLSID_WbemLocator,