[glib] Quell a few compiler warnings



commit 18accd43f79bc27cb68767cfcf1e3899b5349d57
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 17 17:22:05 2013 -0400

    Quell a few compiler warnings

 glib/tests/protocol.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/tests/protocol.c b/glib/tests/protocol.c
index 1783630..8e0292d 100644
--- a/glib/tests/protocol.c
+++ b/glib/tests/protocol.c
@@ -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],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]