[Piglit] [PATCH 1/2] fbo-blit-stretch: add cast to silence signed/unsigned comparison warning

Marek Olšák maraeo at gmail.com
Thu Sep 20 09:30:27 PDT 2012


Reviewed-by: Marek Olšák <maraeo at gmail.com>

Marek

On Thu, Sep 20, 2012 at 4:53 PM, Brian Paul <brianp at vmware.com> wrote:
> ---
>  tests/fbo/fbo-blit-stretch.cpp |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tests/fbo/fbo-blit-stretch.cpp b/tests/fbo/fbo-blit-stretch.cpp
> index 4c4b528..b18a721 100644
> --- a/tests/fbo/fbo-blit-stretch.cpp
> +++ b/tests/fbo/fbo-blit-stretch.cpp
> @@ -538,7 +538,7 @@ piglit_display(void)
>         GLboolean pass = GL_TRUE;
>         for (unsigned i = 0; i < ARRAY_SIZE(tests); i++) {
>                 if (test_index != -1 &&
> -                   test_index != i)
> +                   test_index != (int) i)
>                         continue;
>
>                 TestCase test = tests[i];
> --
> 1.7.3.4
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list