summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-08-16 08:55:48 -0600
committerBrian Paul <brianp@vmware.com>2012-08-16 08:55:48 -0600
commitfd41cbc557509a36ae513eb7170edffbaa5e5715 (patch)
treeddc8fdc16b9268e1c3eb88a6c2e886aaad37a112
parent658044cde1dbdd6d58ad61ef44850da7afa5c413 (diff)
downloadmesa-fd41cbc557509a36ae513eb7170edffbaa5e5715.tar.gz
mesa-fd41cbc557509a36ae513eb7170edffbaa5e5715.tar.xz
mesa-fd41cbc557509a36ae513eb7170edffbaa5e5715.zip
mesa: add cast to silence warning in _mesa_pack_rgba_span_from_ints()
-rw-r--r--src/mesa/main/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c
index 7aebd45ea2..4c99199d9d 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);