Mesa (master): wgl: stw_pixelformat_get_info: correct type for index variable
Emil Velikov
evelikov at kemper.freedesktop.org
Thu Oct 23 14:29:44 UTC 2014
Module: Mesa
Branch: master
Commit: 501baa6bbb519e573c9d128ffb181a2a0ed8f2ec
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=501baa6bbb519e573c9d128ffb181a2a0ed8f2ec
Author: Alon Levy <alevy at redhat.com>
Date: Wed Jul 23 00:07:04 2014 +0300
wgl: stw_pixelformat_get_info: correct type for index variable
Signed-off-by: Alon Levy <alevy at redhat.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
---
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;
More information about the mesa-commit
mailing list