summaryrefslogtreecommitdiff
path: root/glib.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@src.gnome.org>1999-08-17 17:41:01 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-08-17 17:41:01 +0000
commit80c44ef391085fcb5b647ed7e5f4d0215f8fbec6 (patch)
treed6594a329edea3c5bf5dd82ff34d601ccfe5245e /glib.h
parent36a4ad37133e3f842a59b7c9f7930447de49dbe8 (diff)
downloadglib-80c44ef391085fcb5b647ed7e5f4d0215f8fbec6.tar.gz
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.
Diffstat (limited to 'glib.h')
-rw-r--r--glib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib.h b/glib.h
index 9d2d4abf8..24cf29a7e 100644
--- a/glib.h
+++ b/glib.h
@@ -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;