From: Kevin P. Fleming Date: Tue, 17 Jan 2006 20:49:39 +0000 (+0000) Subject: suppress compiler warning X-Git-Tag: 1.4.0-beta1~2907 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5af944427f0020e9de1f92add2d6b838bf4dd7bf;p=thirdparty%2Fasterisk.git suppress compiler warning git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8148 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_dial.c b/apps/app_dial.c index d92b4d745a..3d45cf577c 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -449,7 +449,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu char tmpchan[256]; char *stuff; char *tech; - char *forward_context; + const char *forward_context; + ast_copy_string(tmpchan, o->chan->call_forward, sizeof(tmpchan)); if ((stuff = strchr(tmpchan, '/'))) { *stuff = '\0';