mirror of https://github.com/encounter/SDL.git
Use SDL_zeroa() appropriately
This commit is contained in:
parent
733f25252a
commit
6dce9733d9
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue