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:
29170a4
)
elementfactory: Fix a compiler warning
author
Jan Schmidt
<thaytan@noraisin.net>
Thu, 11 Jun 2009 13:00:09 +0000
(14:00 +0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Thu, 11 Jun 2009 13:00:09 +0000
(14:00 +0100)
Use (gpointer) instead of (gpointer *) to fix a strict-aliasing build warning.
gst/gstelementfactory.c
patch
|
blob
|
history
diff --git
a/gst/gstelementfactory.c
b/gst/gstelementfactory.c
index
123e3e1
..
a4b1aa1
100644
(file)
--- 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)