From fd41cbc557509a36ae513eb7170edffbaa5e5715 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 16 Aug 2012 08:55:48 -0600 Subject: [PATCH] mesa: add cast to silence warning in _mesa_pack_rgba_span_from_ints() --- src/mesa/main/pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index 7aebd45ea2b..4c99199d9d1 100644 --- a/src/mesa/main/pack.c +++ b/src/mesa/main/pack.c @@ -926,7 +926,7 @@ _mesa_pack_rgba_span_from_ints(struct gl_context *ctx, GLuint n, GLint rgba[][4] break; case GL_INT: /* No conversion necessary. */ - pack_uint_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); + pack_uint_from_uint_rgba(ctx, dstAddr, dstFormat, (GLuint (*)[4]) rgba, n); break; case GL_UNSIGNED_SHORT: pack_ushort_from_int_rgba(ctx, dstAddr, dstFormat, rgba, n); -- 2.30.2