diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-20 13:49:36 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-20 13:49:36 +0000 |
commit | 89953ac5c4d3fbb0306d1e3fd313a22d9202f737 (patch) | |
tree | 74b81ee6b97b945df4c0158ba5eda7a7e4a62412 /mdoc.c | |
parent | 50f9604d3b055e8ec8c5617c792e62d6e01219a3 (diff) | |
download | mandoc-89953ac5c4d3fbb0306d1e3fd313a22d9202f737.tar.gz |
Lint- and NetBSD-compiler checks.
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) { |