From: Brian Paul Date: Fri, 29 May 2015 17:28:58 +0000 (-0600) Subject: dri_util: make version var unsigned to silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82305f7b003879a3d08e1445f8ac4b1c6bee6330;p=mesa.git dri_util: make version var unsigned to silence warnings _mesa_override_gl_version_contextless() takes an unsigned version parameter. Reviewed-by: Matt Turner --- 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))