mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 20:35:49 +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,5 +1,8 @@
|
|||||||
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.
|
||||||
|
|
||||||
* configure.in: Check for malloc.h
|
* configure.in: Check for malloc.h
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
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.
|
||||||
|
|
||||||
* configure.in: Check for malloc.h
|
* configure.in: Check for malloc.h
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
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.
|
||||||
|
|
||||||
* configure.in: Check for malloc.h
|
* configure.in: Check for malloc.h
|
||||||
|
@ -33,10 +33,10 @@
|
|||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* GET_FLAGS is implemented via atomic pointer access, to allow memory
|
/* 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)
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user