summaryrefslogtreecommitdiffstats
path: root/mdoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 13:49:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-20 13:49:36 +0000
commit89953ac5c4d3fbb0306d1e3fd313a22d9202f737 (patch)
tree74b81ee6b97b945df4c0158ba5eda7a7e4a62412 /mdoc.c
parent50f9604d3b055e8ec8c5617c792e62d6e01219a3 (diff)
downloadmandoc-89953ac5c4d3fbb0306d1e3fd313a22d9202f737.tar.gz
Lint- and NetBSD-compiler checks.
Diffstat (limited to 'mdoc.c')
-rw-r--r--mdoc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc.c b/mdoc.c
index eab289de..233ac6be 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -318,7 +318,7 @@ mdoc_parseln(struct mdoc *mdoc, int line, char *buf)
return(1);
i = 1;
- while (buf[i] && ! isspace(buf[i]) && i < (int)sizeof(tmp))
+ while (buf[i] && ! isspace((int)buf[i]) && i < (int)sizeof(tmp))
i++;
if (i == (int)sizeof(tmp)) {
@@ -339,7 +339,7 @@ mdoc_parseln(struct mdoc *mdoc, int line, char *buf)
return(mdoc_perr(mdoc, line, 1, "unknown macro"));
}
- while (buf[i] && isspace(buf[i]))
+ while (buf[i] && isspace((int)buf[i]))
i++;
if ( ! mdoc_macro(mdoc, c, line, 1, &i, buf)) {