wgl: stw_pixelformat_get_info: correct type for index variable

Signed-off-by: Alon Levy <alevy@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Alon Levy
2014-07-23 00:07:04 +03:00
committed by Emil Velikov
parent 23080e49c4
commit 501baa6bbb
@@ -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;