summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/zephyr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zwgc/zephyr.c b/zwgc/zephyr.c
index f672d84..a2f9751 100644
--- a/zwgc/zephyr.c
+++ b/zwgc/zephyr.c
@@ -193,7 +193,8 @@ void zephyr_init(void (*notice_handler)(ZNotice_t *))
/*
* Set $realm to our realm and $user to our zephyr username:
*/
- var_set_variable("realm", ZGetRealm());
+ var_set_variable("realm", (char *)ZGetRealm()); /* XXX should propagate the
+ * const */
var_set_variable("user", ZGetSender());
/*