mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-28 05:39:35 +00:00
hw/xwin: Fix warning in winXIconToHICON()
winmultiwindowicons.c:403:29: warning: passing argument 8 of ‘XGetWindowProperty’ from incompatible pointer type [enabled by default]
/usr/include/X11/Xlib.h:2688:12: note: expected ‘Atom *’ but argument is of type ‘long unsigned int *’
Looks like this has been wrong since I added it in 527cf131 :-(
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
@@ -382,7 +382,7 @@ winXIconToHICON(Display * pDisplay, Window id, int iconSize)
|
||||
static int generation;
|
||||
uint32_t *icon, *icon_data = NULL;
|
||||
unsigned long int size;
|
||||
unsigned long int type;
|
||||
Atom type;
|
||||
int format;
|
||||
unsigned long int left;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user