aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitfe2bc57129698e5d19b243485208cd40a2081703 (patch)
tree54178e32b11d8b77ce9cdc35f7c5c01039fd60cf /roff.c
parent25afb1105875bcadb065d7a291f460785f0002cc (diff)
downloadmandoc-fe2bc57129698e5d19b243485208cd40a2081703.tar.gz
mandoc-fe2bc57129698e5d19b243485208cd40a2081703.tar.zst
mandoc-fe2bc57129698e5d19b243485208cd40a2081703.zip
No-op to shut up lint.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/roff.c b/roff.c
index 3363da15..c21cc025 100644
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.96 2010/07/27 13:16:00 kristaps Exp $ */
+/* $Id: roff.c,v 1.97 2010/07/27 19:56:50 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -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);