From: Sebastian Dröge Date: Fri, 5 Sep 2014 19:08:49 +0000 (+0300) Subject: ges-launch: Fix compiler warnings X-Git-Tag: 1.19.3~493^2~1548 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=320e2406d122a5d7d7ce7b47a69fc7c1f39c8328;p=platform%2Fupstream%2Fgstreamer.git ges-launch: Fix compiler warnings ges_validate_print_action_types() takes a const gchar **. --- 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