summaryrefslogtreecommitdiff
path: root/apps/app_readfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_readfile.c')
-rw-r--r--apps/app_readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_readfile.c b/apps/app_readfile.c
index b65dbf656..252c4454d 100644
--- a/apps/app_readfile.c
+++ b/apps/app_readfile.c
@@ -67,7 +67,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
static char *app_readfile = "ReadFile";
-static int readfile_exec(struct ast_channel *chan, void *data)
+static int readfile_exec(struct ast_channel *chan, const char *data)
{
int res=0;
char *s, *varname=NULL, *file=NULL, *length=NULL, *returnvar=NULL;