summaryrefslogtreecommitdiff
path: root/apps/app_playtones.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_playtones.c')
-rw-r--r--apps/app_playtones.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_playtones.c b/apps/app_playtones.c
index 6aff16860..c9c0fbb99 100644
--- a/apps/app_playtones.c
+++ b/apps/app_playtones.c
@@ -72,7 +72,7 @@ static const char stopplaytones_app[] = "StopPlayTones";
</application>
***/
-static int handle_playtones(struct ast_channel *chan, void *data)
+static int handle_playtones(struct ast_channel *chan, const char *data)
{
struct ast_tone_zone_sound *ts;
int res;
@@ -99,7 +99,7 @@ static int handle_playtones(struct ast_channel *chan, void *data)
return res;
}
-static int handle_stopplaytones(struct ast_channel *chan, void *data)
+static int handle_stopplaytones(struct ast_channel *chan, const char *data)
{
ast_playtones_stop(chan);