Skip to content

Commit

Permalink
xf86-video-dummy: fix type of CreateWindow field
Browse files Browse the repository at this point in the history
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
  • Loading branch information
marmarek committed Feb 25, 2025
1 parent f1a5157 commit a3f7636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xf86-video-dummy/src/dummy.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a3f7636

Please sign in to comment.