xserver-multidpi/glx
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
..
dispatch.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-14 18:58:33 -08:00
extension_string.c Enable pbuffers 2009-02-12 14:05:10 -08:00
extension_string.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
g_disptab.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glapi.c Ensure symbols required by swrast_dri.so are visible. 2008-12-17 02:04:12 -02:00
glapi.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-14 18:58:33 -08:00
glapioffsets.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glapitable.h GLX: Changes resulting from changes to Mesa generator scripts / data 2008-12-14 18:58:33 -08:00
glapitemp.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glprocs.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glthread.c Ensure symbols required by swrast_dri.so are visible. 2008-12-17 02:04:12 -02:00
glthread.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glxbyteorder.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glxcmds.c Cast small-int values through intptr_t when passed as pointers 2009-10-08 13:38:44 +11:00
glxcmdsswap.c Remove some libXfont leftovers 2009-06-02 13:40:14 -04:00
glxcontext.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
glxdrawable.h glx: damage is only used with DRI 2009-07-06 17:57:27 +03:00
glxdri.c Change xf86dristr.h includes to use xf86driproto.h instead 2009-09-16 12:06:07 +10:00
glxdri2.c GLX: More clearly document the GLX protocol version handling 2009-10-01 23:13:40 -07:00
glxdricommon.c Fix driGetConfigAttribIndex unaligned access to GLboolean. 2008-08-26 11:07:32 -04:00
glxdricommon.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
glxdriswrast.c Add newline to some LogMessage strings. 2009-04-20 12:38:08 +10:00
glxext.c glx: fixup deref of null pointer when glx screen init fails. 2009-10-02 08:47:13 +10:00
glxext.h glx: Fix drawable private leak on destroy 2009-04-13 13:17:53 -04:00
glxscreens.c GLX: More clearly document the GLX protocol version handling 2009-10-01 23:13:40 -07:00
glxscreens.h GLX: More clearly document the GLX protocol version handling 2009-10-01 23:13:40 -07:00
glxserver.h GLX: Enable GLX 1.4 on DRI2 2009-09-29 16:46:39 -07:00
glxutil.h glx: Fix drawable private leak on destroy 2009-04-13 13:17:53 -04:00
indirect_dispatch_swap.c Fix "warning: cast to pointer from integer of different size" 2009-02-04 09:42:02 +10:00
indirect_dispatch.c Fix "warning: cast to pointer from integer of different size" 2009-02-04 09:42:02 +10:00
indirect_dispatch.h VBO: Regenerate files based on recent changes to gl_API.xml 2008-07-02 06:25:03 -07:00
indirect_program.c Warning fix (GL likes to call strings GLubyte * instead of char *). 2008-12-12 10:37:40 -08:00
indirect_reqsize.c GLX: Make sure the types match for ALIAS in indirect_reqsize.c 2009-06-06 22:24:18 -07:00
indirect_reqsize.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_size_get.c VBO: Regenerate files based on recent changes to gl_API.xml 2008-07-02 06:25:03 -07:00
indirect_size_get.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_size.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_table.c Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_table.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
indirect_texture_compression.c Fix "possibly uninitialized" warnings in glx 2009-10-08 13:36:44 +11:00
indirect_util.c glx: switch to byte counting functions 2009-07-14 10:13:44 +10:00
indirect_util.h Move GL/glx on level up now that it's the only thing left under GL. 2008-05-21 13:33:36 -04:00
Makefile.am glx: Fix drawable private leak on destroy 2009-04-13 13:17:53 -04:00
render2.c Warning fix: Remove dead glXDisp{,Swap}_DrawArraysEXT definitions. 2008-12-12 10:37:40 -08:00
render2swap.c Warning fix: Remove dead glXDisp{,Swap}_DrawArraysEXT definitions. 2008-12-12 10:37:40 -08:00
renderpix.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
renderpixswap.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
rensize.c glx: switch to byte counting functions 2009-07-14 10:13:44 +10:00
single2.c GLX: Avoid a crash when we have an uninitialized GL context 2009-01-15 14:23:48 +00:00
single2swap.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
singlepix.c GLX: note the implicit flushes with ReadPixels in indirect contexts. 2009-06-24 10:41:47 +10:00
singlepixswap.c GLX: note the implicit flushes with ReadPixels in indirect contexts. 2009-06-24 10:41:47 +10:00
singlesize.c Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
singlesize.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
swap_interval.c Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
unpack.h Update to SGI FreeB 2.0. 2008-09-19 12:02:28 -04:00
xfont.c Convert remaining GLX LookupIDByType() calls 2009-04-07 16:28:26 -04:00