summaryrefslogtreecommitdiff
path: root/glib.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1999-09-17 06:03:09 +0000
committerTim Janik <timj@src.gnome.org>1999-09-17 06:03:09 +0000
commit2a6f3bd69a67e6ddfbda480783f3d36ea658b032 (patch)
tree64c30f02f3d6a36efa9d6cbb4c63ca3c604a38c1 /glib.h
parent6072e65cafb320ef42fc821c2b32e97bf7ecb213 (diff)
downloadglib-2a6f3bd69a67e6ddfbda480783f3d36ea658b032.tar.gz
add explicit (GTrashStack*) cast for NULL pointer to cure ANSI C++ error.
Thu Sep 16 13:19:54 1999 Tim Janik <timj@gtk.org> * glib.h (g_trash_stack_pop): add explicit (GTrashStack*) cast for NULL pointer to cure ANSI C++ error.
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 24cf29a7e..b85bec258 100644
--- a/glib.h
+++ b/glib.h
@@ -1690,7 +1690,7 @@ g_trash_stack_pop (GTrashStack **stack_p)
/* NULLify private pointer here, most platforms store NULL as
* subsequent 0 bytes
*/
- data->next = NULL;
+ data->next = (GTrashStack*) NULL;
}
return data;