From b512182222b64e178fae0a96075d1779392f60a9 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 4 Dec 2023 21:25:50 -0800 Subject: [PATCH] Fixed warning C6340: Mismatch on sign: 'unsigned int' passed as _Param_(2) when some signed type is required in call to 'SDL_SetError_REAL'. --- src/sensor/SDL_sensor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sensor/SDL_sensor.c b/src/sensor/SDL_sensor.c index b706261d23..4253af0d7d 100644 --- a/src/sensor/SDL_sensor.c +++ b/src/sensor/SDL_sensor.c @@ -236,7 +236,7 @@ static SDL_bool SDL_GetDriverAndSensorIndex(SDL_SensorID instance_id, SDL_Sensor } } } - SDL_SetError("Sensor %" SDL_PRIs32 " not found", instance_id); + SDL_SetError("Sensor %" SDL_PRIu32 " not found", instance_id); return SDL_FALSE; }