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:
Matthias Clasen 2005-12-27 19:21:36 +00:00 committed by Matthias Clasen
parent d947ad7167
commit 97ffe020cd
4 changed files with 11 additions and 2 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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