diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-09-19 17:07:51 +0300 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-10-22 19:58:48 +0300 |
commit | 379d1fee380d191d5aaab0f621b9fa21468cf6e1 (patch) | |
tree | 8aeceb4cd77a5f1406dd41b1aacd13e2e68a7601 | |
parent | 5104eb245f9230d048e58968adbb7debf695f377 (diff) |
bin: fix compiler warning caused by previous commit
Add forgotten "git commit --amend" for last commit
Need to cast away the const as g_queue_foreach() takes a non-const GQueue*
-rw-r--r-- | gst/gstbin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstbin.c b/gst/gstbin.c index 49769625be..c9497c8772 100644 --- a/gst/gstbin.c +++ b/gst/gstbin.c @@ -1963,7 +1963,7 @@ gst_bin_sort_iterator_copy (const GstBinSortIterator * it, gpointer key, value; g_queue_init (©->queue); - g_queue_foreach (&it->queue, copy_to_queue, ©->queue); + g_queue_foreach ((GQueue *) & it->queue, copy_to_queue, ©->queue); copy->bin = gst_object_ref (it->bin); if (it->best) |