Module Name: src
Committed By: roy
Date: Mon May 1 19:09:22 UTC 2017
Modified Files:
src/lib/libterminfo: tputs.c
Log Message:
Fix some compile warnings.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libterminfo/tputs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libterminfo/tputs.c
diff -u src/lib/libterminfo/tputs.c:1.3 src/lib/libterminfo/tputs.c:1.4
--- src/lib/libterminfo/tputs.c:1.3 Fri Jun 7 13:16:18 2013
+++ src/lib/libterminfo/tputs.c Mon May 1 19:09:22 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: tputs.c,v 1.3 2013/06/07 13:16:18 roy Exp $ */
+/* $NetBSD: tputs.c,v 1.4 2017/05/01 19:09:22 roy Exp $ */
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: tputs.c,v 1.3 2013/06/07 13:16:18 roy Exp $");
+__RCSID("$NetBSD: tputs.c,v 1.4 2017/05/01 19:09:22 roy Exp $");
#include <assert.h>
#include <ctype.h>
@@ -93,7 +93,7 @@ _ti_outputdelay(int delay, short os, cha
}
static int
-_ti_puts(int dodelay, int os, int pc,
+_ti_puts(int dodelay, short os, char pc,
const char *str, int affcnt, int (*outc)(int, void *), void *args)
{
int taildelay, delay, mand;