bin: Add forgotten "git commit --amend" for last commit
authorSebastian Dröge <sebastian@centricular.com>
Mon, 19 Sep 2016 14:07:51 +0000 (10:07 -0400)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 19 Sep 2016 14:07:51 +0000 (10:07 -0400)
Need to cast away the const as g_queue_foreach() takes a non-const GQueue*

gst/gstbin.c

index 28bae67..820488b 100644 (file)
@@ -2152,7 +2152,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)