mirror of
https://github.com/brl/mutter.git
synced 2025-07-16 07:07:18 +00:00
unit-tests: Fix const compiler warning
This commit is contained in:
@ -213,9 +213,9 @@ main (int argc, char *argv[])
|
|||||||
|
|
||||||
g_option_context_free (ctx);
|
g_option_context_free (ctx);
|
||||||
|
|
||||||
char *fake_args[] = { NULL, "--wayland", "--nested" };
|
const char *fake_args[] = { NULL, "--wayland", "--nested" };
|
||||||
fake_args[0] = argv[0];
|
fake_args[0] = argv[0];
|
||||||
char **fake_argv = fake_args;
|
char **fake_argv = (char**)fake_args;
|
||||||
int fake_argc = G_N_ELEMENTS (fake_args);
|
int fake_argc = G_N_ELEMENTS (fake_args);
|
||||||
|
|
||||||
ctx = meta_get_option_context ();
|
ctx = meta_get_option_context ();
|
||||||
|
Reference in New Issue
Block a user