Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-09-19 17:07:51 +0300
committerTim-Philipp Müller <tim@centricular.com>2016-10-22 19:58:48 +0300
commit379d1fee380d191d5aaab0f621b9fa21468cf6e1 (patch)
tree8aeceb4cd77a5f1406dd41b1aacd13e2e68a7601
parent5104eb245f9230d048e58968adbb7debf695f377 (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.c2
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 (&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)