From ea0e1c4999f98b8804ece464afb21a9bb9c7ac6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Sun, 29 Sep 2024 22:23:45 -0400
Subject: [PATCH] Fix warnings in last commit.

---
 src/conio/x_events.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/conio/x_events.c b/src/conio/x_events.c
index ba1582a7dd..4f0eea3fe3 100644
--- a/src/conio/x_events.c
+++ b/src/conio/x_events.c
@@ -782,12 +782,12 @@ static void
 map_window(bool mp)
 {
 	XSizeHints *sh;
-	static last_minw = 0;
-	static last_minh = 0;
-	static last_maxw = 0;
-	static last_maxh = 0;
-	static last_aspectx = 0;
-	static last_aspecty = 0;
+	static int last_minw = 0;
+	static int last_minh = 0;
+	static int last_maxw = 0;
+	static int last_maxh = 0;
+	static int last_aspectx = 0;
+	static int last_aspecty = 0;
 	bool extents_changed = false;
 
 	sh = x11.XAllocSizeHints();
-- 
GitLab