SDL: testime.c: add valid cast, since the variable as been tested non negative before

From ff3f4236f2d523e4498ec17a4fb4f6d4a97441e1 Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Thu, 15 Dec 2022 14:22:11 +0100
Subject: [PATCH] testime.c: add valid cast, since the variable as been tested
 non negative before

---
 test/testime.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/testime.c b/test/testime.c
index 93323047a2bc..288238a1faaf 100644
--- a/test/testime.c
+++ b/test/testime.c
@@ -196,7 +196,8 @@ static int unifont_init(const char *fontname)
         }
 
 
-        if (bytesRead < (33 - bytesOverread)) {
+
+        if ((size_t)bytesRead < (33 - bytesOverread)) {
             SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "unifont: Unexpected end of hex file.\n");
             return -1;
         }