SDL: Fixed warning C4244: 'function': conversion from 'int' to 'Uint16', possible loss of data

From dce626f469c6eb12483d34b546a7101ad9256ad9 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 29 Dec 2023 09:24:52 -0800
Subject: [PATCH] Fixed warning C4244: 'function': conversion from 'int' to
 'Uint16', possible loss of data

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

diff --git a/src/joystick/hidapi/SDL_hidapi_switch.c b/src/joystick/hidapi/SDL_hidapi_switch.c
index 62c61562fa51..cf931b444c6c 100644
--- a/src/joystick/hidapi/SDL_hidapi_switch.c
+++ b/src/joystick/hidapi/SDL_hidapi_switch.c
@@ -1075,7 +1075,7 @@ static SDL_bool HasHomeLED(SDL_DriverSwitch_Context *ctx)
     return SDL_TRUE;
 }
 
-static SDL_bool AlwaysUsesLabels(int vendor_id, int product_id, ESwitchDeviceInfoControllerType eControllerType)
+static SDL_bool AlwaysUsesLabels(Uint16 vendor_id, Uint16 product_id, ESwitchDeviceInfoControllerType eControllerType)
 {
     /* Some controllers don't have a diamond button configuration, so should always use labels */
     if (SDL_IsJoystickGameCube(vendor_id, product_id)) {