Module: Mesa Branch: master Commit: 99f0feb9e2ffd3cfb7bba299207e14f3f8b435c7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=99f0feb9e2ffd3cfb7bba299207e14f3f8b435c7
Author: Pierre-Eric Pelloux-Prayer <[email protected]> Date: Thu Nov 7 15:06:24 2019 +0100 mesa: fix warning in 32 bits build Fixes: febedee4f6c ("mesa: add EXT_dsa glGetVertexArray* 4 functions") Reviewed-by: Marek Olšák <[email protected]> --- src/mesa/main/varray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index f93ad810984..048e836b60c 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -3688,7 +3688,7 @@ _mesa_GetVertexArrayIntegervEXT(GLuint vaobj, GLenum pname, GLint *param) case GL_FOG_COORD_ARRAY_POINTER: case GL_SECONDARY_COLOR_ARRAY_POINTER: _get_vao_pointerv(pname, vao, &ptr, "glGetVertexArrayIntegervEXT"); - *param = (int) ((uint64_t) ptr & 0xFFFFFFFF); + *param = (int) ((intptr_t) ptr & 0xFFFFFFFF); break; default: _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
