summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-06-11 14:00:09 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-06-11 14:00:09 +0100
commit4165cdf4af851cef41b387c4c0e474e16dc02d32 (patch)
treec88f9961d3673373fdff5285894f4d3c08d7aacd
parent29170a4cfaaeca0d561f64caa191f3e0ce3a22fe (diff)
elementfactory: Fix a compiler warning
Use (gpointer) instead of (gpointer *) to fix a strict-aliasing build warning.
-rw-r--r--gst/gstelementfactory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstelementfactory.c b/gst/gstelementfactory.c
index 123e3e1b31..a4b1aa1b4b 100644
--- a/gst/gstelementfactory.c
+++ b/gst/gstelementfactory.c
@@ -415,7 +415,7 @@ gst_element_factory_create (GstElementFactory * factory, const gchar * name)
*/
oclass = GST_ELEMENT_GET_CLASS (element);
if (!g_atomic_pointer_compare_and_exchange (
- (gpointer *) & oclass->elementfactory, NULL, factory))
+ (gpointer) & oclass->elementfactory, NULL, factory))
gst_object_unref (factory);
if (name)