summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2017-12-11 15:27:08 -0600
committerTim-Philipp Müller <tim@centricular.com>2017-12-11 22:03:19 +0000
commit2cc3d98d5cb0f6068f36b429ebf575e188112345 (patch)
treeee4df23722d55a8c94bd99df0788c1007dc14041
parent224938300a3b0fd8263422c3548576ac939032e5 (diff)
downloadgstreamer-plugins-good-2cc3d98d5cb0f6068f36b429ebf575e188112345.tar.gz
equalizer: Fix -Wincompatible-pointer-types warning
This is caused by the new type propagation for g_object_ref. https://bugzilla.gnome.org/show_bug.cgi?id=791494
-rw-r--r--gst/equalizer/gstiirequalizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c
index eb23d21f3..210296b73 100644
--- a/gst/equalizer/gstiirequalizer.c
+++ b/gst/equalizer/gstiirequalizer.c
@@ -323,7 +323,7 @@ gst_iir_equalizer_child_proxy_get_child_by_index (GstChildProxy * child_proxy,
g_return_val_if_fail (index < equ->freq_band_count, NULL);
}
- ret = g_object_ref (equ->bands[index]);
+ ret = g_object_ref (G_OBJECT (equ->bands[index]));
BANDS_UNLOCK (equ);
GST_LOG_OBJECT (equ, "return child[%d] %" GST_PTR_FORMAT, index, ret);