[Mesa-dev] [PATCH 5/7] wgl: stw_pixelformat_get_info: correct type for index variable

Brian Paul brianp at vmware.com
Mon Jul 28 09:13:52 PDT 2014


On 07/22/2014 03:07 PM, Alon Levy wrote:
> Signed-off-by: Alon Levy <alevy at redhat.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 1ef302d..7e5561b 100644
> --- a/src/gallium/state_trackers/wgl/stw_pixelformat.c
> +++ b/src/gallium/state_trackers/wgl/stw_pixelformat.c
> @@ -297,7 +297,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;
>


Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list