2005-12-27 Matthias Clasen <mclasen@redhat.com>
* glib/gdatasetprivate.h: Add a cast to silence compiler
warnings. (#321978, Andrew Paprocki)
2005-12-27 Matthias Clasen <mclasen@redhat.com>
2005-12-27 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gdatasetprivate.h: Add a cast to silence compiler
+ warnings. (#321978, Andrew Paprocki)
Partial fix for bug #32937, Bogdan Nicula.
Partial fix for bug #32937, Bogdan Nicula.
2005-12-27 Matthias Clasen <mclasen@redhat.com>
2005-12-27 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gdatasetprivate.h: Add a cast to silence compiler
+ warnings. (#321978, Andrew Paprocki)
Partial fix for bug #32937, Bogdan Nicula.
Partial fix for bug #32937, Bogdan Nicula.
2005-12-27 Matthias Clasen <mclasen@redhat.com>
2005-12-27 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gdatasetprivate.h: Add a cast to silence compiler
+ warnings. (#321978, Andrew Paprocki)
Partial fix for bug #32937, Bogdan Nicula.
Partial fix for bug #32937, Bogdan Nicula.
G_BEGIN_DECLS
/* GET_FLAGS is implemented via atomic pointer access, to allow memory
G_BEGIN_DECLS
/* GET_FLAGS is implemented via atomic pointer access, to allow memory
- * barriers take effect without acquirering the global dataset mutex.
+ * barriers to take effect without acquiring the global dataset mutex.
*/
#define G_DATALIST_GET_FLAGS(datalist) \
*/
#define G_DATALIST_GET_FLAGS(datalist) \
- ((gsize) g_atomic_pointer_get (datalist) & G_DATALIST_FLAGS_MASK)
+ ((gsize) g_atomic_pointer_get ((gpointer *)(datalist)) & G_DATALIST_FLAGS_MASK)