From f4aa1b10114270238e6bc4fbe01bef7b3a9230c3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 12 Mar 2012 18:22:05 +0100 Subject: [PATCH] caps: small cleanup, remove const --- gst/gstcaps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstcaps.c b/gst/gstcaps.c index c2e0dd13f8..2d9c6ae46c 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -1688,7 +1688,7 @@ gst_caps_structure_figure_out_union (GQuark field_id, const GValue * value, static gboolean gst_caps_structure_simplify (GstStructure ** result, - const GstStructure * simplify, GstStructure * compare) + GstStructure * simplify, GstStructure * compare) { GSList *list; UnionField field = { 0, {0,}, NULL }; @@ -1711,7 +1711,7 @@ gst_caps_structure_simplify (GstStructure ** result, /* try to union both structs */ field.compare = compare; - if (gst_structure_foreach ((GstStructure *) simplify, + if (gst_structure_foreach (simplify, gst_caps_structure_figure_out_union, &field)) { gboolean ret = FALSE;