mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 03:50:14 +01:00
Gets rid of these gcc 4.8 warnings:
dmxinit.c: In function ‘dmxErrorHandler’:
dmxinit.c:167:16: warning: format ‘%x’ expects argument of type ‘unsigned int’,
but argument 3 has type ‘XID64’ [-Wformat=]
ev->resourceid);
^
dmxinit.c:171:16: warning: format ‘%x’ expects argument of type ‘unsigned int’,
but argument 3 has type ‘XID64’ [-Wformat=]
ev->resourceid);
^
dmxinit.c:175:16: warning: format ‘%x’ expects argument of type ‘unsigned int’,
but argument 3 has type ‘XID64’ [-Wformat=]
ev->resourceid);
^
dmxinit.c:181:12: warning: format ‘%d’ expects argument of type ‘int’,
but argument 3 has type ‘long unsigned int’ [-Wformat=]
ev->serial);
^
dmxinit.c:183:12: warning: format ‘%d’ expects argument of type ‘int’,
but argument 3 has type ‘long unsigned int’ [-Wformat=]
dpy->request);
^
dmxinit.c: In function ‘InitOutput’:
dmxinit.c:637:9: warning: format ‘%d’ expects argument of type ‘int’,
but argument 3 has type ‘long unsigned int’ [-Wformat=]
dmxLog(dmxInfo, "Generation: %d\n", dmxGeneration);
^
dmxprop.c: In function ‘dmxPropertyCheckOtherWindows’:
dmxprop.c:223:24: warning: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 4 has type ‘Window’ [-Wformat=]
dmxScreen->name, win, tp.value);
^
dmxprop.c: In function ‘dmxPropertyWindow’:
dmxprop.c:364:16: warning: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 5 has type ‘Window’ [-Wformat=]
other->index, other->name, other->scrnWin);
^
dmxprop.c:364:16: warning: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 8 has type ‘Window’ [-Wformat=]
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Rémi Cardona <remi@gentoo.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| config | ||
| doc | ||
| doxygen | ||
| examples | ||
| glxProxy | ||
| input | ||
| man | ||
| .gitignore | ||
| dmx-config.h | ||
| dmx.c | ||
| dmx.h | ||
| dmx_glxvisuals.c | ||
| dmx_glxvisuals.h | ||
| dmxcb.c | ||
| dmxcb.h | ||
| dmxclient.h | ||
| dmxcmap.c | ||
| dmxcmap.h | ||
| dmxcursor.c | ||
| dmxcursor.h | ||
| dmxdpms.c | ||
| dmxdpms.h | ||
| dmxextension.c | ||
| dmxextension.h | ||
| dmxfont.c | ||
| dmxfont.h | ||
| dmxgc.c | ||
| dmxgc.h | ||
| dmxgcops.c | ||
| dmxgcops.h | ||
| dmxinit.c | ||
| dmxinit.h | ||
| dmxinput.c | ||
| dmxinput.h | ||
| dmxlog.c | ||
| dmxlog.h | ||
| dmxpict.c | ||
| dmxpict.h | ||
| dmxpixmap.c | ||
| dmxpixmap.h | ||
| dmxprop.c | ||
| dmxprop.h | ||
| dmxscrinit.c | ||
| dmxscrinit.h | ||
| dmxstat.c | ||
| dmxstat.h | ||
| dmxsync.c | ||
| dmxsync.h | ||
| dmxvisual.c | ||
| dmxvisual.h | ||
| dmxwindow.c | ||
| dmxwindow.h | ||
| Makefile.am | ||