diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-25 12:32:50 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-25 12:32:50 +0000 |
commit | 2cafdf2a4b325553b7a37c10f6abc2723984cfcb (patch) | |
tree | f6cfd7c020031c26afb39a1dc9f31ea6a77ecf21 /strings.c | |
parent | 8f3ec82bd3ba7aa8787e16c8c71de3b052b4866a (diff) | |
download | mandoc-2cafdf2a4b325553b7a37c10f6abc2723984cfcb.tar.gz |
NetBSD Lintified.
Diffstat (limited to 'strings.c')
-rw-r--r-- | strings.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -62,9 +62,9 @@ mdoc_isescape(const char *p) case ('e'): return(2); case ('('): - if (0 == *++p || ! isgraph(*p)) + if (0 == *++p || ! isgraph((int)*p)) return(0); - if (0 == *++p || ! isgraph(*p)) + if (0 == *++p || ! isgraph((int)*p)) return(0); return(4); case ('['): @@ -74,7 +74,7 @@ mdoc_isescape(const char *p) } for (c = 3, p++; *p && ']' != *p; p++, c++) - if ( ! isgraph(*p)) + if ( ! isgraph((int)*p)) break; return(*p == ']' ? c : 0); |