summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2015-09-24 01:13:59 +0200
committerFlorian Müllner <fmuellner@gnome.org>2015-09-24 03:01:51 +0200
commit25a796afc6c10e5ca89310ada694db5a5790f5c6 (patch)
tree7369190eb8d92c16d5d2bee6607e570bfbb59016 /src/tests
parent27b37407d0aa4557a4df52122beecad864b6beea (diff)
downloadmutter-25a796afc6c10e5ca89310ada694db5a5790f5c6.tar.gz
Fix constness warnings
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test-client.c2
-rw-r--r--src/tests/test-runner.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test-client.c b/src/tests/test-client.c
index 35f675dc9..4c4480c28 100644
--- a/src/tests/test-client.c
+++ b/src/tests/test-client.c
@@ -25,7 +25,7 @@
#include <string.h>
#include <X11/extensions/sync.h>
-char *client_id = "0";
+const char *client_id = "0";
static gboolean wayland;
GHashTable *windows;
diff --git a/src/tests/test-runner.c b/src/tests/test-runner.c
index 7405c886a..c395d9266 100644
--- a/src/tests/test-runner.c
+++ b/src/tests/test-runner.c
@@ -1120,7 +1120,7 @@ main (int argc, char **argv)
/* Then initalize mutter with a different set of arguments */
- char *fake_args[] = { NULL, "--wayland" };
+ char *fake_args[] = { NULL, (char *)"--wayland" };
fake_args[0] = argv[0];
char **fake_argv = fake_args;
int fake_argc = 2;