Skip to content

Commit

Permalink
testhaptic: fix watcom "&array may not produce intended result" warning
Browse files Browse the repository at this point in the history
(cherry-picked from commit d022039)
  • Loading branch information
sezero committed Oct 24, 2022
1 parent 51958da commit 8104992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testhaptic.c
Expand Up @@ -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);

Expand Down

0 comments on commit 8104992

Please sign in to comment.