mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-27 14:32:16 +01:00
Add a cast.
* glib.h (g_trash_stack_push): Add a cast. * gslist.c * glist.c: Make the inline functions static inline, and add separate extern wrappers. Not all compilers produce callable entry points for inline functions, even if gcc does.
This commit is contained in:
@@ -1669,7 +1669,7 @@ G_INLINE_FUNC void
|
||||
g_trash_stack_push (GTrashStack **stack_p,
|
||||
gpointer data_p)
|
||||
{
|
||||
GTrashStack *data = data_p;
|
||||
GTrashStack *data = (GTrashStack *) data_p;
|
||||
|
||||
data->next = *stack_p;
|
||||
*stack_p = data;
|
||||
|
||||
Reference in New Issue
Block a user