summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/lib_doupdate.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-12-28 14:30:19 +0000
committerache <ache@FreeBSD.org>1994-12-28 14:30:19 +0000
commit3341b9d50083f4b5afdb4ae5bbea4b5f8e15e342 (patch)
tree857dd0f885f0b1cd05d9c91bc66af2d00a30efcb /lib/libncurses/lib_doupdate.c
parent919e577eb7d6407c6c0808b042f1cbb22ab7c724 (diff)
downloadFreeBSD-src-3341b9d50083f4b5afdb4ae5bbea4b5f8e15e342.zip
FreeBSD-src-3341b9d50083f4b5afdb4ae5bbea4b5f8e15e342.tar.gz
Fix compiler warnings about tputs argument
Diffstat (limited to 'lib/libncurses/lib_doupdate.c')
-rw-r--r--lib/libncurses/lib_doupdate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libncurses/lib_doupdate.c b/lib/libncurses/lib_doupdate.c
index 9ef3667..fcab8e5 100644
--- a/lib/libncurses/lib_doupdate.c
+++ b/lib/libncurses/lib_doupdate.c
@@ -95,7 +95,7 @@ static inline void GoTo(int row, int col)
SP->_curscol = col;
}
-int _outch(char ch)
+int _outch(int ch)
{
if (SP != NULL)
putc(ch, SP->_ofp);
@@ -183,7 +183,7 @@ sigaction_t act, oact;
static int move_right_cost = -1;
-static int countc(char c)
+static int countc(int c)
{
return(move_right_cost++);
}
OpenPOWER on IntegriCloud