[Piglit] [PATCH 1/2] fbo-blit-stretch: add cast to silence signed/unsigned comparison warning
Brian Paul
brianp at vmware.com
Thu Sep 20 07:53:34 PDT 2012
---
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
More information about the Piglit
mailing list