testhaptic: fix watcom "&array may not produce intended result" warning

This commit is contained in:
Ozkan Sezer 2022-10-09 12:01:02 +03:00
parent 151c23415e
commit d022039529

View file

@ -106,7 +106,7 @@ main(int argc, char **argv)
SDL_ClearError();
/* Create effects. */
SDL_memset(&efx, 0, sizeof(efx));
SDL_memset(efx, 0, sizeof(efx));
nefx = 0;
supported = SDL_HapticQuery(haptic);