Use correct swap{l,s} (or none at all for CARD8)
authorMatt Turner <mattst88@gmail.com>
Wed, 21 Sep 2011 21:14:16 +0000 (17:14 -0400)
committerMatt Turner <mattst88@gmail.com>
Wed, 21 Sep 2011 21:14:16 +0000 (17:14 -0400)
commit9edcae78c46286baff42e74bfe26f6ae4d00fe01
tree7be712a39c5fdc3c7b648f7cecbd5e058535599f
parent2c7c520cfe0df30f4bc3adba59d9c62582823bf8
Use correct swap{l,s} (or none at all for CARD8)

Swapping the wrong size was never caught because swap{l,s} are macros.

It's clear in the case of Xext/xres.c, that the author believed
client_major/minor to be CARD16 from looking at the code in the first
hunk.

v2: dmx.c fixes from Keith.

Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Xext/saver.c
Xext/xres.c
Xi/getdctl.c
Xi/xichangehierarchy.c
Xi/xiquerydevice.c
hw/dmx/dmx.c
hw/xfree86/dixmods/extmod/xf86vmode.c
randr/rrcrtc.c
xkb/xkb.c