On 07/07/2014 11:28 AM, Emil Velikov wrote:
The variable i is used as and compared vs unsigned int.
Change it's type so silcence the compiler warning.
Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>
---
src/utils/wflinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/utils/wflinfo.c b/src/utils/wflinfo.c
index 3508cc6..58028f9 100644
--- a/src/utils/wflinfo.c
+++ b/src/utils/wflinfo.c
@@ -778,7 +778,7 @@ gl_has_extension_GetStringi(const char *name)
error_printf("Wflinfo", "glGetIntegerv(GL_NUM_EXTENSIONS) failed");
}
- for (int i = 0; i < num_exts; i++) {
+ for (uint32_t i = 0; i < num_exts; i++) {
const uint8_t *ext = glGetStringi(GL_EXTENSIONS, i);
if (!ext || glGetError()) {
error_printf("Wflinfo", "glGetStringi(GL_EXTENSIONS) failed");
I think you used a tab instead of spaces for the indentation.
-Brian
_______________________________________________
waffle mailing list
waffle@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/waffle