summaryrefslogtreecommitdiffstats
path: root/strings.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-25 12:32:50 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-25 12:32:50 +0000
commit2cafdf2a4b325553b7a37c10f6abc2723984cfcb (patch)
treef6cfd7c020031c26afb39a1dc9f31ea6a77ecf21 /strings.c
parent8f3ec82bd3ba7aa8787e16c8c71de3b052b4866a (diff)
downloadmandoc-2cafdf2a4b325553b7a37c10f6abc2723984cfcb.tar.gz
NetBSD Lintified.
Diffstat (limited to 'strings.c')
-rw-r--r--strings.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/strings.c b/strings.c
index ec96904c..632f4db9 100644
--- a/strings.c
+++ b/strings.c
@@ -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);