Commit dde0d169 authored by Christophe Fergeau's avatar Christophe Fergeau Committed by Tim-Philipp Müller

gst/gstutils.h: Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE

Original commit message from CVS:
* gst/gstutils.h:
Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
usable in c++ code (#333417; patch by: Christophe Fergeau)
parent 06fcb64c
2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstutils.h:
Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
usable in c++ code (#333417; patch by: Christophe Fergeau)
2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstclock.h:
......
......@@ -189,7 +189,7 @@ static gboolean interface_as_function ## _supported (type *object, GType iface_t
static void \
type_as_function ## _implements_interface_init (GstImplementsInterfaceClass *klass) \
{ \
klass->supported = (gpointer)interface_as_function ## _supported; \
klass->supported = (gboolean (*)(GstImplementsInterface*, GType))interface_as_function ## _supported; \
} \
\
static void \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment