xserver/hw
Jon TURNEY e2df31de39 hw/xquartz: Various fixes for pseudoramiX.c
Various fixes, applied to panoramiX.c in commit 2b266eda, also need applying to pseudoramiX.c:
 Fix panoramiX request and reply swapping
 Set window and screen values in panoramix replies
 Prevent buffer overrun in ProcPanoramiXGetScreenSize

These fixes seem to be necessary in order to compile pseudoramiX.c with gcc

pseudoramiX.c: In function 'ProcPseudoramiXGetState':
pseudoramiX.c:221:56: error: call to 'wrong_size' declared with attribute error: wrong sized variable passed to swap
pseudoramiX.c: In function 'ProcPseudoramiXGetScreenCount':
pseudoramiX.c:250:62: error: call to 'wrong_size' declared with attribute error: wrong sized variable passed to swap
pseudoramiX.c: In function 'ProcPseudoramiXGetScreenSize':
pseudoramiX.c:283:56: error: call to 'wrong_size' declared with attribute error: wrong sized variable passed to swap
pseudoramiX.c:284:57: error: call to 'wrong_size' declared with attribute error: wrong sized variable passed to swap

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
(cherry picked from commit 067931ccce)
2012-08-03 10:16:21 -07:00
..
dmx dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF and _X_NORETURN 2012-05-10 00:50:35 -07:00
kdrive Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
vfb Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
xfree86 Xinerama: Fix ExtensionInit prototype 2012-08-01 18:04:37 -07:00
xnest Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
xquartz hw/xquartz: Various fixes for pseudoramiX.c 2012-08-03 10:16:21 -07:00
xwin Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00