xserver-multidpi/hw/xfree86/dri
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
..
dri.c Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
dri.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
drimodule.c Change xf86dristr.h includes to use xf86driproto.h instead 2009-09-16 12:06:07 +10:00
dristruct.h Notify DRI when crtc regions change 2008-11-24 13:24:35 -08:00
Makefile.am Kill off --with-mesa-source completely 2009-01-18 09:49:06 -08:00
sarea.h Changes for single-entity multi-screen DRI. 2007-04-16 17:31:40 +02:00
xf86dri.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00