mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
gst/gstobject.h: Add cast to make compiler happy - refcount variable was a gint in GstObject but is a guint in GObjec...
Original commit message from CVS: * gst/gstobject.h: Add cast to make compiler happy - refcount variable was a gint in GstObject but is a guint in GObject and g_atomic_int_get() wants a gint *.
This commit is contained in:
parent
02587befa4
commit
1fa79bc05f
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstobject.h:
|
||||
Add cast to make compiler happy - refcount variable was a gint
|
||||
in GstObject but is a guint in GObject and g_atomic_int_get()
|
||||
wants a gint *.
|
||||
|
||||
2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/parse/Makefile.am:
|
||||
|
|
|
@ -75,7 +75,7 @@ typedef enum
|
|||
*
|
||||
* Get the reference count value of the object.
|
||||
*/
|
||||
#define GST_OBJECT_REFCOUNT_VALUE(obj) g_atomic_int_get (&GST_OBJECT_REFCOUNT(obj))
|
||||
#define GST_OBJECT_REFCOUNT_VALUE(obj) g_atomic_int_get ((gint *) &GST_OBJECT_REFCOUNT(obj))
|
||||
|
||||
/* we do a GST_OBJECT_CAST to avoid type checking, better call these
|
||||
* function with a valid object! */
|
||||
|
|
Loading…
Reference in a new issue