Explorar o código

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

Ozkan Sezer %!s(int64=3) %!d(string=hai) anos
pai
achega
d022039529
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/testhaptic.c

+ 1 - 1
test/testhaptic.c

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