[gnome-desktop-testing] runner: Cast the void * to a char * so we can print it



commit eca7b5e26279f7c01dcd5da24412036c00bfba36
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Aug 6 16:09:43 2015 -0700

    runner: Cast the void * to a char * so we can print it

 src/gnome-desktop-testing-runner.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-desktop-testing-runner.c b/src/gnome-desktop-testing-runner.c
index 3f47724..de17bc0 100755
--- a/src/gnome-desktop-testing-runner.c
+++ b/src/gnome-desktop-testing-runner.c
@@ -835,7 +835,7 @@ main (int argc, char **argv)
       if (gs_console_get ())
         {
           for (i = 0; i < app->failed_test_msgs->len; i++)
-            g_print ("%s\n", app->failed_test_msgs->pdata[i]);
+            g_print ("%s\n", (char *) app->failed_test_msgs->pdata[i]);
         }
     }
   g_clear_pointer (&app->pending_tests, g_hash_table_unref);


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