SDL: HIDAPI_DriverPS3_UpdateEffects: kill bad use of & operator on effects[]

From 612a86ebad52e97987e45dcc3305d7e8db3a0569 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 5 Sep 2022 20:47:00 +0300
Subject: [PATCH] HIDAPI_DriverPS3_UpdateEffects: kill bad use of & operator on
 effects[]

---
 src/joystick/hidapi/SDL_hidapi_ps3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/joystick/hidapi/SDL_hidapi_ps3.c b/src/joystick/hidapi/SDL_hidapi_ps3.c
index be21cbbc978..1af5c9b77ec 100644
--- a/src/joystick/hidapi/SDL_hidapi_ps3.c
+++ b/src/joystick/hidapi/SDL_hidapi_ps3.c
@@ -169,7 +169,7 @@ HIDAPI_DriverPS3_UpdateEffects(SDL_HIDAPI_Device *device)
 
     effects[9] = (0x01 << (1+(ctx->player_index % 4)));
 
-    return HIDAPI_DriverPS3_SendJoystickEffect(device, ctx->joystick, &effects, sizeof(effects));
+    return HIDAPI_DriverPS3_SendJoystickEffect(device, ctx->joystick, effects, sizeof(effects));
 }
 
 static void