summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlon Levy <[email protected]>2014-07-23 00:07:04 +0300
committerEmil Velikov <[email protected]>2014-10-23 14:45:40 +0100
commit501baa6bbb519e573c9d128ffb181a2a0ed8f2ec (patch)
tree60c634398afbd4e10940624d50a98a67793a33e3 /src
parent23080e49c4e209101602ec0630923bc1c7c29689 (diff)
wgl: stw_pixelformat_get_info: correct type for index variable
Signed-off-by: Alon Levy <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-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;