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 | 29086c29fdd989b9c086bf25e0790ba21243c4ff (patch) | |
tree | 50a8ad3ca3079d5cf210d324169efe8e8f96b62d /mdoc_strings.c | |
parent | 98c1a46e2586de979ce0fc696b15d91fb80166c5 (diff) | |
download | mandoc-29086c29fdd989b9c086bf25e0790ba21243c4ff.tar.gz mandoc-29086c29fdd989b9c086bf25e0790ba21243c4ff.tar.zst mandoc-29086c29fdd989b9c086bf25e0790ba21243c4ff.zip |
Lint fixes (type-safety for enums via -cefuh).
Diffstat (limited to 'mdoc_strings.c')
-rw-r--r-- | mdoc_strings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_strings.c b/mdoc_strings.c index 9007fa32..bfe4c652 100644 --- a/mdoc_strings.c +++ b/mdoc_strings.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_strings.c,v 1.16 2010/04/03 12:46:35 kristaps Exp $ */ +/* $Id: mdoc_strings.c,v 1.17 2010/05/08 07:30:19 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -127,7 +127,7 @@ mdoc_atosec(const char *p) /* FIXME: move this into an editable .in file. */ size_t -mdoc_macro2len(int macro) +mdoc_macro2len(enum mdoct macro) { switch (macro) { |