From fe2bc57129698e5d19b243485208cd40a2081703 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 27 Jul 2010 19:56:50 +0000 Subject: No-op to shut up lint. --- roff.c | 4 ++-- 1 file 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 * Copyright (c) 2010 Ingo Schwarze @@ -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); -- cgit v1.2.3