summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-09-10 11:48:21 -0500
committerIan Romanick <[email protected]>2013-09-19 17:15:09 -0500
commit1cc3b90d47f92aa0be2d914191fd2f46d2b127d7 (patch)
tree4801660b5144bb99939a90716413d2b453f7947b /src/mesa
parent7db6b5aa91aaa279ed9a4319d4bf37c3d551a1d3 (diff)
mesa: Silence GCC warning 'comparison between signed and unsigned integer expressions'
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index d9499ccf2b8..7af5f5591a4 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -717,7 +717,7 @@ find_custom_value(struct gl_context *ctx, const struct value_desc *d, union valu
case GL_COMPRESSED_TEXTURE_FORMATS_ARB:
v->value_int_n.n =
_mesa_get_compressed_formats(ctx, v->value_int_n.ints);
- ASSERT(v->value_int_n.n <= ARRAY_SIZE(v->value_int_n.ints));
+ ASSERT(v->value_int_n.n <= (int) ARRAY_SIZE(v->value_int_n.ints));
break;
case GL_MAX_VARYING_FLOATS_ARB: