aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-15 16:23:51 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-15 16:23:51 +0000
commit3572d7e4773e34f2d039d1436af1c91795887f04 (patch)
treedf3354c5fd7a8a37527b23a9d8ec160a39fe37c8 /term.c
parentef0353dfc9e7fa3b8dd811c3b71e0e3af38aa552 (diff)
downloadmandoc-3572d7e4773e34f2d039d1436af1c91795887f04.tar.gz
mandoc-3572d7e4773e34f2d039d1436af1c91795887f04.tar.zst
mandoc-3572d7e4773e34f2d039d1436af1c91795887f04.zip
Make lint shut up a little bit.
Diffstat (limited to 'term.c')
-rw-r--r--term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term.c b/term.c
index 2116639f..736029a4 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.177 2011/01/30 16:05:37 schwarze Exp $ */
+/* $Id: term.c,v 1.178 2011/03/15 16:23:51 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -514,7 +514,7 @@ term_word(struct termp *p, const char *word)
if ((ssz = strcspn(word, "\\")) > 0)
encode(p, word, ssz);
- word += ssz;
+ word += (int)ssz;
if ('\\' != *word)
continue;