From 320e2406d122a5d7d7ce7b47a69fc7c1f39c8328 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 5 Sep 2014 22:08:49 +0300 Subject: [PATCH] ges-launch: Fix compiler warnings ges_validate_print_action_types() takes a const gchar **. --- tools/ges-launch.c | 3 ++- tools/ges-validate.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/ges-launch.c b/tools/ges-launch.c index 5aca77e..62cef6d 100644 --- a/tools/ges-launch.c +++ b/tools/ges-launch.c @@ -847,7 +847,8 @@ main (int argc, gchar ** argv) } if (list_action_types) - return ges_validate_print_action_types (argv + 1, argc - 1); + return ges_validate_print_action_types ((const gchar **) argv + 1, + argc - 1); tried_uris = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); if (((!load_path && !scenario && (argc < 4)))) { diff --git a/tools/ges-validate.h b/tools/ges-validate.h index 661ae8d..c214585 100644 --- a/tools/ges-validate.h +++ b/tools/ges-validate.h @@ -32,7 +32,7 @@ gint ges_validate_clean (GstPipeline *pipeline); void ges_validate_handle_request_state_change (GstMessage *message, GMainLoop *mainloop); -gint ges_validate_print_action_types (gchar **types, gint num_types); +gint ges_validate_print_action_types (const gchar **types, gint num_types); G_END_DECLS -- 2.7.4