SDL: Fixed Visual Studio warning 4389: '==': signed/unsigned mismatch

From 92821f7a82f04b6d63d7e9e74668d8d52f0dfb13 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 6 Apr 2023 15:11:56 -0700
Subject: [PATCH] Fixed Visual Studio warning 4389: '==': signed/unsigned
 mismatch

---
 src/render/direct3d12/SDL_render_d3d12.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/render/direct3d12/SDL_render_d3d12.c b/src/render/direct3d12/SDL_render_d3d12.c
index 637774ce3a64..b563cf8e2c47 100644
--- a/src/render/direct3d12/SDL_render_d3d12.c
+++ b/src/render/direct3d12/SDL_render_d3d12.c
@@ -1723,7 +1723,7 @@ static int D3D12_UpdateTextureInternal(D3D12_RenderData *rendererData, ID3D12Res
     src = (const Uint8 *)pixels;
     dst = textureMemory;
     length = w * bpp;
-    if (length == pitch && length == pitchedDesc.RowPitch) {
+    if (length == (UINT)pitch && length == pitchedDesc.RowPitch) {
         SDL_memcpy(dst, src, (size_t)length * h);
     } else {
         if (length > (UINT)pitch) {