From 29086c29fdd989b9c086bf25e0790ba21243c4ff Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 8 May 2010 07:30:19 +0000 Subject: Lint fixes (type-safety for enums via -cefuh). --- mdoc_validate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_validate.c') diff --git a/mdoc_validate.c b/mdoc_validate.c index 61eb7cc1..b442293c 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_validate.c,v 1.69 2010/04/07 19:35:42 kristaps Exp $ */ +/* $Id: mdoc_validate.c,v 1.70 2010/05/08 07:30:19 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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)); } -- cgit v1.2.3