aboutsummaryrefslogtreecommitdiffstats
path: root/main/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/manager.c')
-rw-r--r--main/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/manager.c b/main/manager.c
index 4f53663be..2256a30f8 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -819,7 +819,7 @@ static int get_perm(const char *instr)
return ret;
}
-static int ast_is_number(char *string)
+static int ast_is_number(const char *string)
{
int ret = 1, x = 0;
@@ -840,7 +840,7 @@ static int strings_to_mask(const char *string)
{
int x, ret = -1;
- x = ast_is_number((char *) string);
+ x = ast_is_number(string);
if (x)
ret = x;