summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/wgl/stw_pixelformat.c2
1 files changed, 1 insertions, 1 deletions
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;