sdl12-compat: Fix -Wsign-compare warnings.

From 2bc46a0f9f400f9e6b2f8d52fc7378f90ca748f3 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 20 Dec 2022 00:47:20 +0300
Subject: [PATCH] Fix -Wsign-compare warnings.

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

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index bfa02f905..8cbcf7304 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -1619,7 +1619,7 @@ static int get_cpu_ext_features(void) {
         if (SDL20_HasMMX()) {
             int a, b, c, d;
             cpuid(0x80000000, a, b, c, d);
-            if (a >= 0x80000001) {
+            if ((unsigned int)a >= 0x80000001) {
                 cpuid(0x80000001, a, b, c, d);
                 cpu_ext_features = d;
             }
@@ -9578,7 +9578,7 @@ SDL_BuildAudioCVT(SDL12_AudioCVT *cvt12, Uint16 src_format, Uint8 src_channels,
             }
 
             while (((lo_rate * 2) / 100) <= (hi_rate / 100)) {   /* this is what SDL 1.2 does. *shrug* */
-                if (cvt12->filter_index >= (SDL_arraysize(cvt12->filters) - 2)) {
+                if (cvt12->filter_index >= (int)(SDL_arraysize(cvt12->filters) - 2)) {
                     return SDL20_SetError("Too many conversion filters needed");
                 }
                 cvt12->filters[cvt12->filter_index++] = CompatibilityCVT_Resampler;