File fix-gcc15.patch of Package hota-redux

From ef718d8b2d52c1b5c2ac1868ac429b57539fbfde Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
Date: Fri, 19 Dec 2025 06:46:22 +0000
Subject: [PATCH] Fix compilation with gcc15

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

diff --git a/src/animation.c b/src/animation.c
index 96d4cd7..600d487 100644
--- a/src/animation.c
+++ b/src/animation.c
@@ -31,6 +31,7 @@
 #include "client.h"
 
 ///////
+void check_events();
 void rest(int fps);
 
 extern SDL_Surface *screen;
@@ -76,7 +77,7 @@ static void fillline(unsigned char *screen, int offset, int count, int color)
 	}
 }
 
-static void unpack_animation_delta(int offset, char *out)
+static void unpack_animation_delta(int offset, unsigned char *out)
 {
 	int a5;
 	char *src;
openSUSE Build Service is sponsored by