ges-launch: Fix compiler warnings

ges_validate_print_action_types() takes a const gchar **.
This commit is contained in:
Sebastian Dröge 2014-09-05 22:08:49 +03:00
parent 73d9fd70c9
commit 320e2406d1
2 changed files with 3 additions and 2 deletions

View file

@ -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)))) {

View file

@ -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