summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-27 19:56:50 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-27 19:56:50 +0000
commit376704c9e6b85d8a409ce13fa46d66ee5f869a08 (patch)
tree77b9896037ea4d60239c7e6071fb22a9b6bc920d /roff.c
parentd162ac252080ea1ff3c25eaf02fb59a95b442927 (diff)
downloadmandoc-376704c9e6b85d8a409ce13fa46d66ee5f869a08.tar.gz
No-op to shut up lint.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roff.c b/roff.c
index 248d3118..67383174 100644
--- a/roff.c
+++ b/roff.c
@@ -1081,7 +1081,7 @@ roff_getstrn(const struct roff *r, const char *name, size_t len)
const struct roffstr *n;
n = r->first_string;
- while (n && (strncmp(name, n->name, len) || '\0' != n->name[len]))
+ while (n && (strncmp(name, n->name, len) || '\0' != n->name[(int)len]))
n = n->next;
return(n ? n->string : NULL);