summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index b8f79ad..f4491e9 100644
--- a/parse.c
+++ b/parse.c
@@ -801,7 +801,7 @@ static struct expr *parse_depth_limit(struct parser_state *state, int is_min, in
}
int *depth = is_min ? &cmdline->mindepth : &cmdline->maxdepth;
- if (!parse_int(state, value, depth, IF_INT)) {
+ if (!parse_int(state, value, depth, IF_INT | IF_UNSIGNED)) {
return NULL;
}