From 788d9bf12174ce59584f4ed768a24a9626f5d9b7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 30 Aug 2011 09:47:25 -0600 Subject: [PATCH] tnl: add const qualifier to silence warning --- src/mesa/tnl/t_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2