summaryrefslogtreecommitdiff
path: root/test/text-lcd-filter-fir5.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/text-lcd-filter-fir5.c')
-rw-r--r--test/text-lcd-filter-fir5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/text-lcd-filter-fir5.c b/test/text-lcd-filter-fir5.c
index 54bee806..a5102b93 100644
--- a/test/text-lcd-filter-fir5.c
+++ b/test/text-lcd-filter-fir5.c
@@ -31,7 +31,7 @@
static cairo_test_draw_function_t draw;
-cairo_test_t test = {
+static const cairo_test_t test = {
"text-lcd-filter-fir5",
"Tests text rendering with a 5x5 kernel FIR LCD filter",
WIDTH, HEIGHT,
@@ -43,7 +43,7 @@ draw (cairo_t *cr, int width, int height)
{
cairo_text_extents_t extents;
cairo_font_options_t *font_options;
- static char black[] = "black", blue[] = "blue";
+ const char black[] = "black", blue[] = "blue";
/* We draw in the default black, so paint white first. */
cairo_save (cr);