xserver/hw/xfree86/os-support
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
..
bsd Fix build on Alpha 2009-08-12 14:45:13 -04:00
bus Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
hurd xfree86: Hurd fix 2009-09-28 00:58:23 +02:00
linux Resource leakage: 0 is a valid file descriptor 2009-10-08 13:27:30 +11:00
misc alpha: kill xf86SlowBCopyToBus and xf86SlowBCopyFromBus 2009-08-31 20:25:15 -04:00
sco xfree86: Remove superfluous ifdef DEBUG checks. 2009-05-16 12:01:23 +10:00
shared Add configuration option for use of SIGIO handlers for input events 2009-09-17 10:06:37 +10:00
solaris Sun bug 6872917: Xorg not querying /dev/fb when no xorg.conf exists 2009-08-18 20:18:36 -07:00
sysv Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
Makefile.am Remove some unused assembly code and assyntax.h 2008-08-18 16:46:36 -04:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86OSpriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86_OSlib.h Add new VT support for OpenSolaris & future Solaris releases 2009-08-13 21:56:06 -07:00
xf86_OSproc.h Remove unused Delay.c 2009-08-31 16:12:29 -04:00