diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-08 07:30:19 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-08 07:30:19 +0000 |
commit | c10df4f63596660b1a585dd712a0778b88ec5874 (patch) | |
tree | f77bfbb9e507408371b66a87df9e677a040288a1 /mdoc_validate.c | |
parent | 0f679b197ab273ae0779713155a8a455d4a770fe (diff) | |
download | mandoc-c10df4f63596660b1a585dd712a0778b88ec5874.tar.gz |
Lint fixes (type-safety for enums via -cefuh).
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r-- | mdoc_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index c2ef5d50..22db47a8 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -747,7 +747,7 @@ pre_sh(PRE_ARGS) if (MDOC_BLOCK != n->type) return(1); - return(check_parent(mdoc, n, -1, MDOC_ROOT)); + return(check_parent(mdoc, n, MDOC_MAX, MDOC_ROOT)); } |