compare-framebuffer-parameter-with-get.c:160:25: warning: comparison of
unsigned expression < 0 is always false [-Wtautological-compare]
if (global_framebuffer < 0 || global_framebuffer > 2) {
~~~~~~~~~~~~~~~~~~ ^ ~
Fixes: d60f1fb839bc ("gl-4.5/compare-framebuffer-parameter-with-get: add test")
Signed-off-by: Vinson Lee <[email protected]>
---
tests/spec/gl-4.5/compare-framebuffer-parameter-with-get.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/gl-4.5/compare-framebuffer-parameter-with-get.c
b/tests/spec/gl-4.5/compare-framebuffer-parameter-with-get.c
index 5573d9838c1b..45ddbce0f05c 100644
--- a/tests/spec/gl-4.5/compare-framebuffer-parameter-with-get.c
+++ b/tests/spec/gl-4.5/compare-framebuffer-parameter-with-get.c
@@ -94,7 +94,7 @@ GLuint framebuffers[3];
bool filter_pname = false;
GLenum global_pname;
bool filter_framebuffer = false;
-GLuint global_framebuffer;
+int global_framebuffer;
/*
* Returns if any of the table_23_73 enums is a boolean or not
--
2.9.3
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit