incompatible pointer to integer conversion assigning to 'GLintptr' (aka 'int') from 'const char *' [-Werror,-Wint-conversion]
offset = indices; ^ ~~~~~~~ Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> --- src/mesa/vbo/vbo_minmax_index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/vbo/vbo_minmax_index.c b/src/mesa/vbo/vbo_minmax_index.c index 58a2af49ac..1377926bba 100644 --- a/src/mesa/vbo/vbo_minmax_index.c +++ b/src/mesa/vbo/vbo_minmax_index.c @@ -255,7 +255,7 @@ vbo_get_minmax_index(struct gl_context *ctx, count, min_index, max_index)) return; - offset = indices; + offset = (GLintptr) indices; indices = ctx->Driver.MapBufferRange(ctx, offset, size, GL_MAP_READ_BIT, ib->obj, MAP_INTERNAL); -- 2.13.5 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev