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*
This commit is contained in:
Sebastian Dröge 2016-09-19 10:07:51 -04:00 committed by Tim-Philipp Müller
parent 5104eb245f
commit 379d1fee38

View file

@ -1963,7 +1963,7 @@ gst_bin_sort_iterator_copy (const GstBinSortIterator * it,
gpointer key, value;
g_queue_init (&copy->queue);
g_queue_foreach (&it->queue, copy_to_queue, &copy->queue);
g_queue_foreach ((GQueue *) & it->queue, copy_to_queue, &copy->queue);
copy->bin = gst_object_ref (it->bin);
if (it->best)