xserver-multidpi/hw/xfree86/os-support/bus
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_pci.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
linuxPci.c Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
Makefile.am PCI: Remove non-pciaccess path for x86. 2008-11-24 23:40:02 -05:00
Pci.c xfree86: remove pci debug macros 2009-07-28 18:45:16 +03:00
Pci.h xfree86: remove pci debug macros 2009-07-28 18:45:16 +03:00
Sbus.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Pci.h Build fix, remove export of pciBusAddrToHostAddr 2009-02-16 18:29:33 -05:00
xf86Sbus.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00