Go to file
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
composite Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
config config: don't shutdown the libhal ctx if it failed to initialize (#23213) 2009-08-14 11:01:20 +10:00
damageext input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
dbe dbe: Fix indentation 2009-07-17 14:57:50 -04:00
dix Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
doc Xephyr & Xserver man page fixes 2009-07-07 17:36:24 -07:00
exa exa: avoid infinite loops if UTS sw fallbacks. 2009-10-01 15:52:28 +10:00
fb Add xoff and yoff to drawable->x and drawable->y in create_bits_picture(). 2009-09-14 16:09:37 +10:00
glx Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
hw Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
include GLX: More clearly document the GLX protocol version handling 2009-10-01 23:13:40 -07:00
m4 Remove shave now that automake-1.11 has AM_SILENT_RULES 2009-10-06 19:40:19 -07:00
mi Rootless: Correct border rendering on parent-relative windows 2009-09-27 23:31:50 -07:00
miext Rootless: Correct border rendering on parent-relative windows 2009-09-27 23:31:50 -07:00
os Fix GCC warnings in xorg_backtrace 2009-10-08 13:38:01 +11:00
randr input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
record input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
render render: Fix clip region translation in miClipPictureSrc(). 2009-10-06 19:40:18 -07:00
test Add platform tests for Dtrace linker magic 2009-10-06 19:40:19 -07:00
Xext Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
xfixes input: define server-supported protocol versions in one single file. 2009-09-21 21:47:35 +10:00
Xi Xi: Make CopyKeyClass X_HIDDEN to avoid ugly ifdef-fu 2009-09-27 09:52:03 -07:00
xkb xkb: check permissions on XKM_OUTPUT_DIR 2009-10-01 19:02:36 +10:00
.gitignore Remove shave now that automake-1.11 has AM_SILENT_RULES 2009-10-06 19:40:19 -07:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS 2009-10-06 19:40:20 -07:00
COPYING Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
cpprules.in Use $(AM_V_GEN) to silence more commands when AM_SILENT_RULES is active 2009-10-06 19:40:20 -07:00
Makefile.am Fix dist. 2009-07-23 15:32:20 -07:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Since font modules are dead, don't mention them in xorg-server.pc 2009-07-09 17:21:07 -04:00