diff options
author | Florian Müllner <fmuellner@gnome.org> | 2015-09-24 01:13:59 +0200 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2015-09-24 03:01:51 +0200 |
commit | 25a796afc6c10e5ca89310ada694db5a5790f5c6 (patch) | |
tree | 7369190eb8d92c16d5d2bee6607e570bfbb59016 /src/tests | |
parent | 27b37407d0aa4557a4df52122beecad864b6beea (diff) | |
download | mutter-25a796afc6c10e5ca89310ada694db5a5790f5c6.tar.gz |
Fix constness warnings
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test-client.c | 2 | ||||
-rw-r--r-- | src/tests/test-runner.c | 2 |
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; |