mesa/src/glx/dri_common_query_renderer.c: In function 'dri2_convert_glx_query_renderer_attribs':
mesa/src/glx/dri_common_query_renderer.c:61:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(query_renderer_map); i++)
^
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
static int
dri2_convert_glx_query_renderer_attribs(int attribute)
{
- int i;
+ unsigned i;
for (i = 0; i < ARRAY_SIZE(query_renderer_map); i++)
if (query_renderer_map[i].glx_attrib == attribute)