diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2019-11-07 15:06:24 +0100 |
---|---|---|
committer | Pierre-Eric Pelloux-Prayer <[email protected]> | 2019-11-19 08:49:45 +0100 |
commit | 99f0feb9e2ffd3cfb7bba299207e14f3f8b435c7 (patch) | |
tree | 9bfa407d8e0e1df5bcff93d6bb0f417690cf8cb6 /src/mesa | |
parent | 3a5a55e5a585af50c989d207f74b0e6e9242a4b1 (diff) |
mesa: fix warning in 32 bits build
Fixes: febedee4f6c ("mesa: add EXT_dsa glGetVertexArray* 4 functions")
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/varray.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |