SDL: Fixed build warnings (94ae4)

From 94ae4e1513937938c883c4f450143573c3d41538 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 24 Jun 2024 13:36:46 -0700
Subject: [PATCH] Fixed build warnings

---
 test/checkkeys.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/checkkeys.c b/test/checkkeys.c
index c3f084b932846..f7e40b7b503a8 100644
--- a/test/checkkeys.c
+++ b/test/checkkeys.c
@@ -62,7 +62,7 @@ static void UpdateTextWindowInputRect(SDL_WindowID id)
 
             rect.x = (int)TEXT_WINDOW_OFFSET_X;
             if (current_line) {
-                rect.x += SDL_utf8strlen(current_line) * FONT_CHARACTER_SIZE;
+                rect.x += (int)SDL_utf8strlen(current_line) * FONT_CHARACTER_SIZE;
             }
             rect.y = (int)TEXT_WINDOW_OFFSET_Y + current * FONT_LINE_HEIGHT;
 #if 1
@@ -280,7 +280,7 @@ static void DrawCursor(int i)
     }
     rect.y = TEXT_WINDOW_OFFSET_Y + current * FONT_LINE_HEIGHT;
     rect.w = FONT_CHARACTER_SIZE * 0.75f;
-    rect.h = FONT_CHARACTER_SIZE;
+    rect.h = (float)FONT_CHARACTER_SIZE;
 
     SDL_SetRenderDrawColor(state->renderers[i], 0xAA, 0xAA, 0xAA, 255);
     SDL_RenderFillRect(state->renderers[i], &rect);