diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2013-09-10 11:48:21 -0500 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2013-09-19 17:15:09 -0500 |
commit | 1cc3b90d47f92aa0be2d914191fd2f46d2b127d7 (patch) | |
tree | 4801660b5144bb99939a90716413d2b453f7947b /src/mesa/main/get.c | |
parent | 7db6b5aa91aaa279ed9a4319d4bf37c3d551a1d3 (diff) | |
download | external_mesa3d-1cc3b90d47f92aa0be2d914191fd2f46d2b127d7.zip external_mesa3d-1cc3b90d47f92aa0be2d914191fd2f46d2b127d7.tar.gz external_mesa3d-1cc3b90d47f92aa0be2d914191fd2f46d2b127d7.tar.bz2 |
mesa: Silence GCC warning 'comparison between signed and unsigned integer expressions'
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r-- | src/mesa/main/get.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index d9499cc..7af5f55 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: |