Quell a few compiler warnings

This commit is contained in:
Matthias Clasen 2013-08-17 17:22:05 -04:00
parent 5cd169810e
commit 18accd43f7

View File

@ -121,7 +121,7 @@ static void
test_message (void) test_message (void)
{ {
gchar* argv[] = { gchar* argv[] = {
argv0, (gchar*)argv0,
NULL, NULL,
"--GTestSubprocess", "--GTestSubprocess",
"-p", "/glib/testing/protocol/debug", "-p", "/glib/testing/protocol/debug",
@ -241,7 +241,7 @@ test_error (void)
for (i = 0; i < G_N_ELEMENTS (tests); i++) for (i = 0; i < G_N_ELEMENTS (tests); i++)
{ {
gchar* argv[] = { gchar* argv[] = {
argv0, (gchar*)argv0,
NULL, NULL,
"--GTestSubprocess", "--GTestSubprocess",
"-p", tests[i], "-p", tests[i],