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

From 41bfcad5d75da3dba31e8e3a211df0d9d9539689 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 4 Dec 2023 20:58:58 -0800
Subject: [PATCH] Fixed warning C6340: Mismatch on sign: 'unsigned short'
 passed as _Param_(2) when some signed type is required in call to
 'SDL_SetError_REAL'.

---
 src/video/SDL_bmp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/video/SDL_bmp.c b/src/video/SDL_bmp.c
index c5fe6c7deb01..ef2caf738397 100644
--- a/src/video/SDL_bmp.c
+++ b/src/video/SDL_bmp.c
@@ -370,7 +370,7 @@ SDL_Surface *SDL_LoadBMP_RW(SDL_RWops *src, SDL_bool freesrc)
     case 5:
     case 6:
     case 7:
-        SDL_SetError("%d-bpp BMP images are not supported", biBitCount);
+        SDL_SetError("%u bpp BMP images are not supported", biBitCount);
         goto done;
     default:
         break;
@@ -650,7 +650,7 @@ int SDL_SaveBMP_RW(SDL_Surface *surface, SDL_RWops *dst, SDL_bool freedst)
             if (surface->format->BitsPerPixel == 8) {
                 intermediate_surface = surface;
             } else {
-                SDL_SetError("%d bpp BMP files not supported",
+                SDL_SetError("%u bpp BMP files not supported",
                              surface->format->BitsPerPixel);
                 goto done;
             }