Fixed warning C6340: Mismatch on sign: 'unsigned int' passed as _Param_(2) when some signed type is required in call to 'SDL_SetError_REAL'.

This commit is contained in:
Sam Lantinga 2023-12-04 21:25:50 -08:00
parent 8a82f7e837
commit b512182222

View file

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