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 *.
+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:
*
* 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! */