summaryrefslogtreecommitdiff
path: root/main/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/channel.c')
-rw-r--r--main/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index cd2202fd4..51b5da9b3 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -2919,7 +2919,7 @@ int ast_set_write_format(struct ast_channel *chan, int fmt)
&chan->writetrans, 1);
}
-char *ast_channel_reason2str(int reason)
+const char *ast_channel_reason2str(int reason)
{
switch (reason) /* the following appear to be the only ones actually returned by request_and_dial */
{