[Piglit] [PATCH 3/5] arb_texture_compression: add cast to silence warning
Brian Paul
brianp at vmware.com
Wed Sep 28 13:06:02 PDT 2011
---
.../spec/arb_texture_compression/invalid-formats.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/spec/arb_texture_compression/invalid-formats.c b/tests/spec/arb_texture_compression/invalid-formats.c
index 114f2f5..2429497 100644
--- a/tests/spec/arb_texture_compression/invalid-formats.c
+++ b/tests/spec/arb_texture_compression/invalid-formats.c
@@ -365,7 +365,7 @@ piglit_init(int argc, char **argv)
}
if (argc == 1) {
- argv = all_formats;
+ argv = (char **) all_formats; /* cast away const */
argc = ARRAY_SIZE(all_formats);
do_all = true;
}
--
1.7.3.4
More information about the Piglit
mailing list