summaryrefslogtreecommitdiff
path: root/zwgc/plus.c
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc/plus.c')
-rw-r--r--zwgc/plus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zwgc/plus.c b/zwgc/plus.c
index 313dda9..d9860b1 100644
--- a/zwgc/plus.c
+++ b/zwgc/plus.c
@@ -431,7 +431,7 @@ get_list_refcount(ZNotice_t *notice)
}
/* export a reference to the current notice. */
-char *
+ZNotice_t *
get_stored_notice(void)
{
if (!stored_notice)
@@ -439,7 +439,7 @@ get_stored_notice(void)
list_add_notice(stored_notice);
- return (char *)stored_notice;
+ return stored_notice;
}
void