On 02/23/15 10:36 PM, Mark Kettenis wrote:
cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
Signed-off-by: Thomas Klausner <[email protected]>
---
src/mga_exa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
This code makes no sense to me. exaGetPixmapFirstPixel() returns a pixel
value. Interpreting that as a pointer to the first pixel must be wrong.
Note that the actual usage of mgaDownloadFromScreen() is #if 0'ed out.
Perhaps in your copy, but not upstream:
http://cgit.freedesktop.org/xorg/driver/xf86-video-mga/tree/src/mga_exa.c#n896
--
-Alan Coopersmith- [email protected]
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel