summaryrefslogtreecommitdiffstats
path: root/mdoc_strings.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-08 07:30:19 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-08 07:30:19 +0000
commitc10df4f63596660b1a585dd712a0778b88ec5874 (patch)
treef77bfbb9e507408371b66a87df9e677a040288a1 /mdoc_strings.c
parent0f679b197ab273ae0779713155a8a455d4a770fe (diff)
downloadmandoc-c10df4f63596660b1a585dd712a0778b88ec5874.tar.gz
Lint fixes (type-safety for enums via -cefuh).
Diffstat (limited to 'mdoc_strings.c')
-rw-r--r--mdoc_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_strings.c b/mdoc_strings.c
index 601960e2..0b1847fd 100644
--- a/mdoc_strings.c
+++ b/mdoc_strings.c
@@ -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) {