From 75982a5df42cd2406e529b7c96b36d2a8b1f7b60 Mon Sep 17 00:00:00 2001 From: Brian Paul <brianp@vmware.com> Date: Fri, 8 Nov 2013 09:00:46 -0700 Subject: glx: change query_renderer_integer() value param to unsigned When this function was added, the returned value was signed in some places, unsigned in others. v2: also add unsigned in the unit test, per Ian. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> --- src/glx/tests/query_renderer_unittest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/glx/tests') diff --git a/src/glx/tests/query_renderer_unittest.cpp b/src/glx/tests/query_renderer_unittest.cpp index f0998b7d7dc..2f3c4ef12ea 100644 --- a/src/glx/tests/query_renderer_unittest.cpp +++ b/src/glx/tests/query_renderer_unittest.cpp @@ -56,7 +56,8 @@ static bool query_renderer_string_called = false; static bool query_renderer_integer_called = false; static int -fake_query_renderer_integer(struct glx_screen *psc, int attribute, int *value) +fake_query_renderer_integer(struct glx_screen *psc, int attribute, + unsigned int *value) { (void) psc; (void) attribute; -- cgit v1.2.3