Constify some more channel driver technology callback parameters.
[asterisk/asterisk.git] / main / manager.c
index 2bb51c1..727df26 100644 (file)
@@ -3730,13 +3730,13 @@ static void *fast_originate(void *data)
        char requested_channel[AST_CHANNEL_NAME];
 
        if (!ast_strlen_zero(in->app)) {
-               res = ast_pbx_outgoing_app(in->tech, in->cap, (char *) in->data,
+               res = ast_pbx_outgoing_app(in->tech, in->cap, in->data,
                        in->timeout, in->app, in->appdata, &reason, 1,
                        S_OR(in->cid_num, NULL),
                        S_OR(in->cid_name, NULL),
                        in->vars, in->account, &chan);
        } else {
-               res = ast_pbx_outgoing_exten(in->tech, in->cap, (char *) in->data,
+               res = ast_pbx_outgoing_exten(in->tech, in->cap, in->data,
                        in->timeout, in->context, in->exten, in->priority, &reason, 1,
                        S_OR(in->cid_num, NULL),
                        S_OR(in->cid_name, NULL),