SDL: Fixed warning C4244: 'initializing': conversion from 'int' to 'const Uint8', possible loss of data

From ff5fdf9f53eadff169cd99e8f5e1aa55bd0103be Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 3 Feb 2024 11:15:15 -0800
Subject: [PATCH] Fixed warning C4244: 'initializing': conversion from 'int' to
 'const Uint8', possible loss of data

---
 test/testautomation_guid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testautomation_guid.c b/test/testautomation_guid.c
index 7bd1d90e0dca..f8576129dc04 100644
--- a/test/testautomation_guid.c
+++ b/test/testautomation_guid.c
@@ -117,7 +117,7 @@ TestGuidToString(void *arg)
 
         /* Serialise to limited-length buffers */
         for (size = 0; size <= 36; ++size) {
-            const Uint8 fill_char = size + 0xa0;
+            const Uint8 fill_char = (Uint8)(size + 0xa0);
             Uint32 expected_prefix;
             Uint32 actual_prefix;
             int written_size;