[libgda] Removed compilation warnings



commit 7eb733e477cb774e3125e97a47e9c1d9a76bd981
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Jan 22 14:37:44 2012 +0100

    Removed compilation warnings

 tools/gda-sql.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/gda-sql.c b/tools/gda-sql.c
index ca5bc54..0d43b26 100644
--- a/tools/gda-sql.c
+++ b/tools/gda-sql.c
@@ -439,7 +439,7 @@ main (int argc, char *argv[])
 
 	g_free (data);
 
-	return EXIT_SUCCESS;
+	return exit_status;
 }
 
 static const char *
@@ -4053,7 +4053,7 @@ extra_command_query_buffer_delete_dict (SqlConsole *console, G_GNUC_UNUSED GdaCo
 		GError *lerror = NULL;
 		att.id = -1;
 		att.type = TOOLS_FAVORITES_QUERIES;
-		att.name = args[0];
+		att.name = (gchar*) args[0];
 		att.descr = NULL;
 		att.contents = NULL;
 



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