aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c
index fca2cda50..39b38b1a0 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -1501,7 +1501,7 @@ static int action_getvar(struct mansession *s, const struct message *m)
if (varname[strlen(varname) - 1] == ')') {
char *copy = ast_strdupa(varname);
if (!c) {
- c = ast_channel_alloc(0, 0, "", "", "", "", "", 0, "Bogus/%p", NULL);
+ c = ast_channel_alloc(0, 0, "", "", "", "", "", 0, "Bogus/%p", (char *) NULL);
if (c) {
ast_func_read(c, copy, workspace, sizeof(workspace));
ast_channel_free(c);