diff options
author | Brian Paul <[email protected]> | 2013-11-08 09:00:46 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-11-11 08:10:12 -0700 |
commit | 75982a5df42cd2406e529b7c96b36d2a8b1f7b60 (patch) | |
tree | 223bf5fafbd93f62a6eefb05cbe9e38d64039e4a /src/glx/query_renderer.c | |
parent | 6c6f4aa6fdad19574406ea7edcbcca45d02e89b6 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/glx/query_renderer.c')
-rw-r--r-- | src/glx/query_renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/query_renderer.c b/src/glx/query_renderer.c index 981a844e94e..9108ec23af5 100644 --- a/src/glx/query_renderer.c +++ b/src/glx/query_renderer.c @@ -30,7 +30,7 @@ __glXQueryRendererInteger(struct glx_screen *psc, int attribute, unsigned int *value) { unsigned int values_for_query = 0; - int buffer[32]; + unsigned int buffer[32]; int err; /* This probably means the caller is trying to use an extension function |