On 5 May 2017 at 20:27, Chad Versace <[email protected]> wrote: > main/egldisplay.c: In function '_eglParseX11DisplayAttribList': > main/egldisplay.c:491:38: warning: cast to pointer from integer of different > size [-Wint-to-pointer-cast] > display->Options.Platform = (void *)value; > > The fix: cast to uinptr_t before void*. > ^ > Fixes: ddb99127 egl/x11: Honor the EGL_PLATFORM_X11_SCREEN_EXT attribute > Cc: Adam Jackson <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
FWIW this is the only -Wint-to-pointer-cast warning in all of Mesa ;-) Emil _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
