projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b6866
)
equalizer: Fix -Wincompatible-pointer-types warning
author
Michael Catanzaro
<mcatanzaro@igalia.com>
Mon, 11 Dec 2017 21:27:08 +0000
(15:27 -0600)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 11 Dec 2017 21:57:25 +0000
(21:57 +0000)
This is caused by the new type propagation for g_object_ref.
https://bugzilla.gnome.org/show_bug.cgi?id=791494
gst/equalizer/gstiirequalizer.c
patch
|
blob
|
history
diff --git
a/gst/equalizer/gstiirequalizer.c
b/gst/equalizer/gstiirequalizer.c
index
eb23d21
..
210296b
100644
(file)
--- 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);