summaryrefslogtreecommitdiff
path: root/res/res_monitor.c
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2009-05-22 16:10:33 +0000
committerSean Bright <sean@malleable.com>2009-05-22 16:10:33 +0000
commitfcda626f3cd15eea04270acd4a7ee596b7dc5555 (patch)
tree033f5d634d41a7653c0ba98b8b48921bc313daa5 /res/res_monitor.c
parent0510be35649c0962d34b21fffbe745bbb43238d9 (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: https://origsvn.digium.com/svn/asterisk/trunk@196227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_monitor.c')
-rw-r--r--res/res_monitor.c4
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)) {