From: Russell Bryant Date: Fri, 22 May 2009 16:20:16 +0000 (+0000) Subject: resolve compiler warning X-Git-Tag: 11.0.0-beta1~4840 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76e9c034beaa607bcb2019068b77844eced3d8b8;p=thirdparty%2Fasterisk.git resolve compiler warning git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196246 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index fed6c1264c..5971539b05 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -4198,7 +4198,7 @@ static int pri_find_dchan(struct dahdi_pri *pri) #if defined(HAVE_OPENR2) static const char * const dahdi_accept_r2_call_app = "DAHDIAcceptR2Call"; -static int dahdi_accept_r2_call_exec(struct ast_channel *chan, void *data) +static int dahdi_accept_r2_call_exec(struct ast_channel *chan, const char *data) { /* data is whether to accept with charge or no charge */ openr2_call_mode_t accept_mode;