From a3f76364bc42246b16d9da81a996a95d8e2bc473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 25 Feb 2025 18:25:11 +0100 Subject: [PATCH] xf86-video-dummy: fix type of CreateWindow field The function takes an argument. Actual function used there was okay, but the field in the structure used wrong type. And GCC 15 (rightfully) started complaining. Use CreateWindowProcPtr type to avoid similar issue in the future. QubesOS/qubes-issues#9807 --- xf86-video-dummy/src/dummy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xf86-video-dummy/src/dummy.h b/xf86-video-dummy/src/dummy.h index a993b0d5..0ccae928 100644 --- a/xf86-video-dummy/src/dummy.h +++ b/xf86-video-dummy/src/dummy.h @@ -92,7 +92,7 @@ typedef struct dummyRec dummy_colors colors[256]; pointer* FBBase; struct xf86_qubes_pixmap *FBBasePriv; - Bool (*CreateWindow)() ; /* wrapped CreateWindow */ + CreateWindowProcPtr CreateWindow; /* wrapped CreateWindow */ Bool prop; struct genlist queue;