Quell a few compiler warnings
authorMatthias Clasen <mclasen@redhat.com>
Sat, 17 Aug 2013 21:22:05 +0000 (17:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 17 Aug 2013 21:25:56 +0000 (17:25 -0400)
glib/tests/protocol.c

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