Commit febde0c1 authored by Stefan Kost's avatar Stefan Kost

gstobject: also remove the cast as this is causing the trouble

parent df099959
......@@ -446,8 +446,7 @@ gst_object_replace (GstObject ** oldobj, GstObject * newobj)
g_object_ref (newobj);
do {
oldptr = *oldobj;
} while (!G_ATOMIC_POINTER_COMPARE_AND_EXCHANGE ((void *) oldobj,
oldptr, newobj));
} while (!G_ATOMIC_POINTER_COMPARE_AND_EXCHANGE (oldobj, oldptr, newobj));
if (oldptr)
g_object_unref (oldptr);
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