xserver-multidpi/hw/dmx
Alan Coopersmith f358f0d50c dmx: fix printf format argument warnings
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>
2015-02-10 18:14:44 -08:00
..
config dmx: move format strings inline so gcc can check 2015-02-10 18:14:44 -08:00
doc dix: Remove refs to mi backing store from docs 2012-09-23 10:31:39 -07:00
doxygen dmx: modernize doxygen generation. 2011-05-13 14:08:07 -07:00
examples Fix formatting of address operators 2012-12-05 18:09:48 -06:00
glxProxy Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
input Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
man dmx: Remove ShadowFB support 2013-09-10 13:28:23 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
dmx_glxvisuals.c glx: Correctly set render type enum 2013-10-24 11:16:30 -07:00
dmx_glxvisuals.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmx-config.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmx.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmx.h dmx: Remove ShadowFB support 2013-09-10 13:28:23 -04:00
dmxcb.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcb.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxclient.h Bunch of DMX warning fixes 2014-01-12 10:14:49 -08:00
dmxcmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxcursor.c mipointer: Remove EnqueueEvent from miPointerScreenFuncRec 2013-09-10 13:28:23 -04:00
dmxcursor.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxdpms.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxdpms.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxextension.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxextension.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxfont.c dmx: Fix memory leak in dmxBELoadFont (#50281) 2014-05-22 17:13:34 -07:00
dmxfont.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxgc.c dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
dmxgc.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxgcops.c mi: Drop plane argument from miHandleExposures 2014-10-09 11:14:53 +02:00
dmxgcops.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxinit.c dmx: fix printf format argument warnings 2015-02-10 18:14:44 -08:00
dmxinit.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinput.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxinput.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxlog.c dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF and _X_NORETURN 2012-05-01 11:36:35 +10:00
dmxlog.h dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF and _X_NORETURN 2012-05-01 11:36:35 +10:00
dmxpict.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxpict.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
dmxpixmap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxpixmap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxprop.c dmx: fix printf format argument warnings 2015-02-10 18:14:44 -08:00
dmxprop.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxscrinit.c dmx: Remove ShadowFB support 2013-09-10 13:28:23 -04:00
dmxscrinit.h api: rework the X server driver API to avoid global arrays. 2012-06-05 13:22:18 +01:00
dmxstat.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxstat.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxsync.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dmxsync.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxvisual.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxvisual.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dmxwindow.c dix: Drop the third argument from WindowExposuresProcPtr 2014-10-09 11:14:44 +02:00
dmxwindow.h dix: Drop the third argument from WindowExposuresProcPtr 2014-10-09 11:14:44 +02:00
Makefile.am Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00