resolve compiler warning
authorRussell Bryant <russell@russellbryant.com>
Fri, 22 May 2009 16:20:16 +0000 (16:20 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 22 May 2009 16:20:16 +0000 (16:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196246 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index fed6c12..5971539 100644 (file)
@@ -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;