From d0220395294b63fc542e1cfac68289a77a09fb86 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 9 Oct 2022 12:01:02 +0300 Subject: [PATCH] testhaptic: fix watcom "&array may not produce intended result" warning --- test/testhaptic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testhaptic.c b/test/testhaptic.c index 34da19f96..8e92da347 100644 --- a/test/testhaptic.c +++ b/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);