From 501baa6bbb519e573c9d128ffb181a2a0ed8f2ec Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 23 Jul 2014 00:07:04 +0300 Subject: [PATCH] wgl: stw_pixelformat_get_info: correct type for index variable Signed-off-by: Alon Levy Reviewed-by: Brian Paul --- src/gallium/state_trackers/wgl/stw_pixelformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2