mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-15 05:46:15 +01:00
Add a cast to silence compiler warnings. (#321978, Andrew Paprocki)
2005-12-27 Matthias Clasen <mclasen@redhat.com> * glib/gdatasetprivate.h: Add a cast to silence compiler warnings. (#321978, Andrew Paprocki)
This commit is contained in:
parent
d947ad7167
commit
97ffe020cd
@ -1,4 +1,7 @@
|
||||
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.
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
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.
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
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.
|
||||
|
||||
|
@ -33,10 +33,10 @@
|
||||
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) \
|
||||
((gsize) g_atomic_pointer_get (datalist) & G_DATALIST_FLAGS_MASK)
|
||||
((gsize) g_atomic_pointer_get ((gpointer *)(datalist)) & G_DATALIST_FLAGS_MASK)
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user