summaryrefslogtreecommitdiff
path: root/apps/app_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_test.c')
-rw-r--r--apps/app_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_test.c b/apps/app_test.c
index 76a953f0c..64ce7b43f 100644
--- a/apps/app_test.c
+++ b/apps/app_test.c
@@ -143,10 +143,10 @@ static int sendnoise(struct ast_channel *chan, int ms)
return res;
}
-static int testclient_exec(struct ast_channel *chan, void *data)
+static int testclient_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
- char *testid=data;
+ const char *testid=data;
char fn[80];
char serverver[80];
FILE *f;
@@ -318,7 +318,7 @@ static int testclient_exec(struct ast_channel *chan, void *data)
return res;
}
-static int testserver_exec(struct ast_channel *chan, void *data)
+static int testserver_exec(struct ast_channel *chan, const char *data)
{
int res = 0;
char testid[80]="";