diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-03-24 13:28:21 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-03-24 13:28:21 -0500 |
commit | d3af5320d43c73f0655ebaad1c818292c1250cc7 (patch) | |
tree | 2f830c994f1934c30b8c094c2dc01cdd0020cbe8 /main | |
parent | c5170677e72e48b487462e79a31974845a417dce (diff) | |
parent | c6e4c48e67a78940e4dd17805ba74416023365ae (diff) |
Merge "config: fix flags in uint option handler" into 13
Diffstat (limited to 'main')
-rw-r--r-- | main/config_options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config_options.c b/main/config_options.c index 5da310fd8..db99a441d 100644 --- a/main/config_options.c +++ b/main/config_options.c @@ -1346,7 +1346,7 @@ static int int_handler_fn(const struct aco_option *opt, struct ast_variable *var */ static int uint_handler_fn(const struct aco_option *opt, struct ast_variable *var, void *obj) { unsigned int *field = (unsigned int *)(obj + opt->args[0]); - unsigned int flags = PARSE_INT32 | opt->flags; + unsigned int flags = PARSE_UINT32 | opt->flags; int res = 0; if (opt->flags & PARSE_IN_RANGE) { res = opt->flags & PARSE_DEFAULT ? |