diff options
author | Tim Janik <timj@gtk.org> | 1999-09-17 06:03:09 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1999-09-17 06:03:09 +0000 |
commit | 2a6f3bd69a67e6ddfbda480783f3d36ea658b032 (patch) | |
tree | 64c30f02f3d6a36efa9d6cbb4c63ca3c604a38c1 /glib.h | |
parent | 6072e65cafb320ef42fc821c2b32e97bf7ecb213 (diff) | |
download | glib-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |