summaryrefslogtreecommitdiff
path: root/test/operator-www.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2021-08-17 06:25:29 +0930
committerAdrian Johnson <ajohnson@redneon.com>2021-08-22 12:07:36 +0930
commit78d267ee7af3c7cabdef437cd6a670111fc6062b (patch)
tree09f1667fdba4dbc4725fb0513b03802a1dad1613 /test/operator-www.c
parentba3823e6b82c76bfe962f570dbf48e7c6a8126a6 (diff)
downloadcairo-78d267ee7af3c7cabdef437cd6a670111fc6062b.tar.gz
Fix some warnings
Diffstat (limited to 'test/operator-www.c')
-rw-r--r--test/operator-www.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/operator-www.c b/test/operator-www.c
index 8657980ff..4d804fced 100644
--- a/test/operator-www.c
+++ b/test/operator-www.c
@@ -28,8 +28,8 @@
#define WIDTH 160
#define HEIGHT 120
-void
-example (cairo_t *cr, char *name)
+static void
+example (cairo_t *cr, const char *name)
{
cairo_save (cr);
cairo_push_group_with_content (cr, cairo_surface_get_content (cairo_get_target (cr)));