summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-04-08 15:47:50 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-04-08 15:47:50 -0500
commit8610f4344fc2d83d0926fbf45b9f77d6fc26eea5 (patch)
tree86556572e8112be0b11cb44c344d5aa0d29a70e1 /main/pbx.c
parentb47dfd1c6ead5c8783660465af997a4360555ea1 (diff)
parent6138a75e8e438bb92ef541a6339d2a20c5164fd0 (diff)
Merge "pbx.h: Make ast_state_cb_type take more const."
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/pbx.c b/main/pbx.c
index b7bfdb826..df9cad326 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -3231,8 +3231,7 @@ static int execute_state_callback(ast_state_cb_type cb,
info.exten_state = AST_EXTENSION_REMOVED;
}
- /* NOTE: The casts will not be needed for v10 and later */
- res = cb((char *) context, (char *) exten, &info, data);
+ res = cb(context, exten, &info, data);
return res;
}