mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
elementfactory: Fix a compiler warning
Use (gpointer) instead of (gpointer *) to fix a strict-aliasing build warning.
This commit is contained in:
parent
29170a4cfa
commit
4165cdf4af
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue