summaryrefslogtreecommitdiff
path: root/test/cairo-test.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-06-12 12:32:51 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-12 22:28:38 +0100
commita41e1275d28317c88e29b7f142cfc835673c01f5 (patch)
treee03ba47be122d53a66e41e333dfe641ce0b5ce99 /test/cairo-test.h
parent6aebde6598c629d667b06e20111106832d139c4d (diff)
downloadcairo-a41e1275d28317c88e29b7f142cfc835673c01f5.tar.gz
[boilerplate] Make array of targets const.
Protect the boilerplate targets from unexpected modifications.
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r--test/cairo-test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h
index 5a5be44ea..afdc88891 100644
--- a/test/cairo-test.h
+++ b/test/cairo-test.h
@@ -187,7 +187,7 @@ struct _cairo_test_context {
size_t num_targets;
cairo_bool_t limited_targets;
- cairo_boilerplate_target_t **targets_to_test;
+ const cairo_boilerplate_target_t **targets_to_test;
cairo_bool_t own_targets;
int malloc_failure;