path: root/src/glx/query_renderer.c
diff options
authorBrian Paul <>2013-11-08 09:00:46 -0700
committerIan Romanick <>2013-11-15 11:58:06 -0800
commit94251281b4e914ec7b29e811ed6a565128745d0c (patch)
tree1233cebb32480e7cecefc53d8277966f56619635 /src/glx/query_renderer.c
parent03a29306b50a0a61965e80323cb5cf2b10c26b8e (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 <> (cherry picked from commit 75982a5df42cd2406e529b7c96b36d2a8b1f7b60)
Diffstat (limited to 'src/glx/query_renderer.c')
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