SDL_image: Fixed compiler warning

From 521a844d5034359dd7f48a6d4fc768c263074164 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 5 Jan 2023 09:45:59 -0800
Subject: [PATCH] Fixed compiler warning

---
 nanosvg.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nanosvg.h b/nanosvg.h
index 2e554231..14bbcf4c 100644
--- a/nanosvg.h
+++ b/nanosvg.h
@@ -1301,9 +1301,9 @@ static unsigned int nsvg__parseColorRGB(const char* str)
 			else break;
 		}
 		if (i == 3) {
-			rgbi[0] = roundf(rgbf[0] * 2.55f);
-			rgbi[1] = roundf(rgbf[1] * 2.55f);
-			rgbi[2] = roundf(rgbf[2] * 2.55f);
+			rgbi[0] = (unsigned int)roundf(rgbf[0] * 2.55f);
+			rgbi[1] = (unsigned int)roundf(rgbf[1] * 2.55f);
+			rgbi[2] = (unsigned int)roundf(rgbf[2] * 2.55f);
 		} else {
 			rgbi[0] = rgbi[1] = rgbi[2] = 128;
 		}