b0dd6be2c8
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> |
||
---|---|---|
.. | ||
dri.c | ||
dri.h | ||
drimodule.c | ||
dristruct.h | ||
Makefile.am | ||
sarea.h | ||
xf86dri.c |