Module: Mesa Branch: master Commit: 501baa6bbb519e573c9d128ffb181a2a0ed8f2ec URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=501baa6bbb519e573c9d128ffb181a2a0ed8f2ec
Author: Alon Levy <[email protected]> Date: Wed Jul 23 00:07:04 2014 +0300 wgl: stw_pixelformat_get_info: correct type for index variable Signed-off-by: Alon Levy <[email protected]> Reviewed-by: Brian Paul <[email protected]> --- 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 96169e2..b0cd5ab 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
