gnucash maint: Fix Travis build error.

John Ralls jralls at code.gnucash.org
Sun Jan 24 19:22:55 EST 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/9be5a8be (commit)
	from  https://github.com/Gnucash/gnucash/commit/9ea58f26 (commit)



commit 9be5a8be464f8444fff4a668a3d737c501fe0686
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jan 24 16:22:46 2016 -0800

    Fix Travis build error.

diff --git a/src/gnome/dialog-sx-since-last-run.c b/src/gnome/dialog-sx-since-last-run.c
index 15279b5..939605b 100644
--- a/src/gnome/dialog-sx-since-last-run.c
+++ b/src/gnome/dialog-sx-since-last-run.c
@@ -802,9 +802,9 @@ creation_error_dialog (GList **creation_errors)
     {
         gchar *new_msg = NULL;
         if (message == NULL)
-            new_msg = g_strdup_printf ("%s", node->data);
+            new_msg = g_strdup_printf ("%s", (gchar*)(node->data));
         else
-            new_msg = g_strdup_printf("%s\n%s", message, node->data);
+            new_msg = g_strdup_printf("%s\n%s", message, (gchar*)(node->data));
         g_free (message);
         message = new_msg;
         g_free(node->data);



Summary of changes:
 src/gnome/dialog-sx-since-last-run.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list