xserver-multidpi/hw
Jamey Sharp b0dd6be2c8 Cast small-int values through intptr_t when passed as pointers
On 64-bit systems, int and pointers don't have the same size, so GCC gives
warnings about casts between int and pointer types. However, in the cases
covered by this patch, it's always a value that fits in int being stored
temporarily as a pointer and then converted back later, which is safe.
Casting through the pointer-sized integer type intptr_t convinces the
compiler that this is OK.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2009-10-08 13:38:44 +11:00
..
dmx dmx: undefine MITSHM, move undefs to miinitext.c. 2009-09-26 13:14:50 +10:00
kdrive Resource leakage: 0 is a valid file descriptor 2009-10-08 13:27:30 +11:00
vfb input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7 2009-06-18 14:41:47 +10:00
xfree86 Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
xnest Xnest: set the default pointer accel to the host's values (#10013) 2009-09-09 10:47:08 +10:00
xquartz XQuartz: Fix a possible minor memory leak 2009-10-02 19:20:24 -07:00
xwin input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
Makefile.am Remove xgl. 2008-06-12 16:00:50 -04:00