xserver-multidpi/composite
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
..
compalloc.c Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
compext.c input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
compinit.c dix/glx/composite: consolidate visual resize in one place. 2009-09-30 10:00:07 +10:00
compint.h Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
compositeext.h Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00
compoverlay.c Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
compwindow.c Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
Makefile.am Export CompositeRegisterAlternateVisuals. 2009-04-27 13:29:40 -07:00