Explorar el Código

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

Ozkan Sezer hace 3 años
padre
commit
d022039529
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/testhaptic.c

+ 1 - 1
test/testhaptic.c

@@ -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);