diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-22 16:10:33 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-22 16:10:33 +0000 |
commit | 5254b7f45d2b0e801910dce862a44f987f03db69 (patch) | |
tree | 033f5d634d41a7653c0ba98b8b48921bc313daa5 /res/res_monitor.c | |
parent | c830fc25b81608952079cfed304d42d54a05bad4 (diff) |
Fix build under dev mode and remove some casts that are no longer necessary as
a result of the const-ify the world patch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196227 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_monitor.c')
-rw-r--r-- | res/res_monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c index 491ee0c70..83bd0a5a7 100644 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -476,12 +476,12 @@ static int start_monitor_exec(struct ast_channel *chan, const char *data) ); /* Parse arguments. */ - if (ast_strlen_zero((char*)data)) { + if (ast_strlen_zero(data)) { ast_log(LOG_ERROR, "Monitor requires an argument\n"); return 0; } - parse = ast_strdupa((char*)data); + parse = ast_strdupa(data); AST_STANDARD_APP_ARGS(args, parse); if (!ast_strlen_zero(args.options)) { |