From: Alon Levy Date: Tue, 22 Jul 2014 21:07:04 +0000 (+0300) Subject: wgl: stw_pixelformat_get_info: correct type for index variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=501baa6bbb519e573c9d128ffb181a2a0ed8f2ec;p=mesa.git wgl: stw_pixelformat_get_info: correct type for index variable Signed-off-by: Alon Levy Reviewed-by: Brian Paul --- diff --git a/src/gallium/state_trackers/wgl/stw_pixelformat.c b/src/gallium/state_trackers/wgl/stw_pixelformat.c index 96169e2b5f9..b0cd5abd27a 100644 --- a/src/gallium/state_trackers/wgl/stw_pixelformat.c +++ b/src/gallium/state_trackers/wgl/stw_pixelformat.c @@ -303,7 +303,7 @@ stw_pixelformat_get_extended_count( void ) const struct stw_pixelformat_info * stw_pixelformat_get_info( int iPixelFormat ) { - int index; + unsigned index; if (iPixelFormat <= 0) { return NULL;