SDL: camera: Fix compiler warnings on some platforms.

From f8fa08d2b1a6e4a1f601d0981e66df28d5519d1d Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Wed, 31 Jan 2024 21:47:33 -0500
Subject: [PATCH] camera: Fix compiler warnings on some platforms.

---
 src/camera/SDL_camera.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/camera/SDL_camera.c b/src/camera/SDL_camera.c
index b4823f8063514..3a7854a19f31d 100644
--- a/src/camera/SDL_camera.c
+++ b/src/camera/SDL_camera.c
@@ -988,7 +988,7 @@ SDL_Camera *SDL_OpenCameraDevice(SDL_CameraDeviceID instance_id, const SDL_Camer
     // Start the camera thread if necessary
     if (!camera_driver.impl.ProvidesOwnCallbackThread) {
         char threadname[64];
-        SDL_snprintf(threadname, sizeof (threadname), "SDLCamera%d", instance_id);
+        SDL_snprintf(threadname, sizeof (threadname), "SDLCamera%d", (int) instance_id);
         device->thread = SDL_CreateThreadInternal(CameraThread, threadname, 0, device);
         if (!device->thread) {
             ClosePhysicalCameraDevice(device);