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:
df09995
)
gstobject: also remove the cast as this is causing the trouble
author
Stefan Kost
<ensonic@users.sf.net>
Tue, 23 Aug 2011 09:55:17 +0000
(11:55 +0200)
committer
Stefan Kost
<ensonic@users.sf.net>
Tue, 23 Aug 2011 09:55:17 +0000
(11:55 +0200)
gst/gstobject.c
patch
|
blob
|
history
diff --git
a/gst/gstobject.c
b/gst/gstobject.c
index f5a7769d00f5be710db506c6a88e606fc3abb138..5f3aa787864dd94a2f39e6cb9643fdac7b688c12 100644
(file)
--- a/
gst/gstobject.c
+++ b/
gst/gstobject.c
@@
-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);
}