summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2016-03-10 17:32:42 +0100
committerFlorian Müllner <fmuellner@gnome.org>2016-03-11 12:26:38 +0100
commit868b3fd01e7b71127d61945e053d7fdf70f2e2c7 (patch)
tree303e503e30c8e3219d81bb9b926e23ff216c754c /src
parent8b801aac772f92b2c6d8341931b03bbe8d5f8cd6 (diff)
downloadmutter-868b3fd01e7b71127d61945e053d7fdf70f2e2c7.tar.gz
unit-tests: Fix const compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/tests/unit-tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/unit-tests.c b/src/tests/unit-tests.c
index 019b6d54a..37332f0b1 100644
--- a/src/tests/unit-tests.c
+++ b/src/tests/unit-tests.c
@@ -213,9 +213,9 @@ main (int argc, char *argv[])
g_option_context_free (ctx);
- char *fake_args[] = { NULL, "--wayland", "--nested" };
+ const char *fake_args[] = { NULL, "--wayland", "--nested" };
fake_args[0] = argv[0];
- char **fake_argv = fake_args;
+ char **fake_argv = (char**)fake_args;
int fake_argc = G_N_ELEMENTS (fake_args);
ctx = meta_get_option_context ();