From: Brian Paul Date: Tue, 30 Aug 2011 15:47:25 +0000 (-0600) Subject: tnl: add const qualifier to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=788d9bf12174ce59584f4ed768a24a9626f5d9b7;p=mesa.git tnl: add const qualifier to silence warning --- diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c index a5225c439b5..283ab695485 100644 --- a/src/mesa/tnl/t_draw.c +++ b/src/mesa/tnl/t_draw.c @@ -340,7 +340,7 @@ static void bind_indices( struct gl_context *ctx, TNLcontext *tnl = TNL_CONTEXT(ctx); struct vertex_buffer *VB = &tnl->vb; GLuint i; - void *ptr; + const void *ptr; if (!ib) { VB->Elts = NULL;