summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-05-29 11:28:58 -0600
committerBrian Paul <[email protected]>2015-05-29 13:36:39 -0600
commit82305f7b003879a3d08e1445f8ac4b1c6bee6330 (patch)
tree747c57361dd1f9597821065e4b0360706dfd7b93
parentb307921c3ff3b36607752f881a180272366a79cf (diff)
dri_util: make version var unsigned to silence warnings
_mesa_override_gl_version_contextless() takes an unsigned version parameter. Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/mesa/drivers/dri/common/dri_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index 2d847ef7bc8..e7ababe0b67 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -164,7 +164,7 @@ driCreateNewScreen2(int scrn, int fd,
struct gl_constants consts = { 0 };
gl_api api;
- int version;
+ unsigned version;
api = API_OPENGLES2;
if (_mesa_override_gl_version_contextless(&consts, &api, &version))