From: Pekka Paalanen <pekka.paala...@collabora.co.uk>

We assign string literals to it, so it better be const.

Signed-off-by: Pekka Paalanen <pekka.paala...@collabora.co.uk>
---
 test/lowlevel-blt-bench.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/test/lowlevel-blt-bench.c b/test/lowlevel-blt-bench.c
index 993f5db..866dedd 100644
--- a/test/lowlevel-blt-bench.c
+++ b/test/lowlevel-blt-bench.c
@@ -589,13 +589,13 @@ bench_composite (const char *testname,
 
 struct test_entry
 {
-    char *testname;
-    int   src_fmt;
-    int   src_flags;
-    int   op;
-    int   mask_fmt;
-    int   mask_flags;
-    int   dst_fmt;
+    const char *testname;
+    int         src_fmt;
+    int         src_flags;
+    int         op;
+    int         mask_fmt;
+    int         mask_flags;
+    int         dst_fmt;
 };
 
 typedef struct test_entry test_entry_t;
-- 
2.3.6

_______________________________________________
Pixman mailing list
Pixman@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pixman

Reply via email to