diff options
author | Rhys Kidd <[email protected]> | 2015-08-06 16:34:05 +1000 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-08-18 11:34:43 -0700 |
commit | f5bb5b957a1ca33015400dd2274c7b73cb0e40f4 (patch) | |
tree | 5b27ddbb52b03c5021bc454bcc30fde0177483ab /src/glx | |
parent | dc7a1effc41b1fea7a7138fae942ae57ccd63d1d (diff) |
mesa/glx: Resolve GCC sign-compare warning.
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 <[email protected]>
Reviewed-by: Thomas Helland <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/dri_common_query_renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri_common_query_renderer.c b/src/glx/dri_common_query_renderer.c index b3e107dc612..ebeedc9c037 100644 --- a/src/glx/dri_common_query_renderer.c +++ b/src/glx/dri_common_query_renderer.c @@ -56,7 +56,7 @@ static const struct { 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) |