sdl2-compat: Fix -Wsign-compare error

From d9b4444d4a382727b8cd1222370d4019bafa4473 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 8 Aug 2023 23:15:35 +0200
Subject: [PATCH] Fix -Wsign-compare error

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

diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index 5f5903b..40ffe26 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -2613,7 +2613,7 @@ typedef struct
 typedef struct
 {
     SDL_FPoint path[GESTURE_DOLLARNPOINTS];
-    unsigned long hash;
+    Sint64 hash;
 } GestureDollarTemplate;
 
 typedef struct
@@ -3157,7 +3157,7 @@ GestureProcessEvent(const SDL_Event *event3)
                 const float error = GestureDollarRecognize(&inTouch->dollarPath, &bestTempl, inTouch);
                 if (bestTempl >= 0) {
                     /* Send Event */
-                    const unsigned long gestureId = inTouch->dollarTemplate[bestTempl].hash;
+                    Sint64 gestureId = inTouch->dollarTemplate[bestTempl].hash;
                     GestureSendDollar(inTouch, gestureId, error);
                     /* printf ("%s\n",);("Dollar error: %f\n",error); */
                 }