Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libterminfo Fix some compile warnings.



details:   https://anonhg.NetBSD.org/src/rev/9a4ca6bea9df
branches:  trunk
changeset: 823664:9a4ca6bea9df
user:      roy <roy%NetBSD.org@localhost>
date:      Mon May 01 19:09:22 2017 +0000

description:
Fix some compile warnings.

diffstat:

 lib/libterminfo/tputs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e6ec04e5f9e6 -r 9a4ca6bea9df lib/libterminfo/tputs.c
--- a/lib/libterminfo/tputs.c   Mon May 01 18:39:02 2017 +0000
+++ b/lib/libterminfo/tputs.c   Mon May 01 19:09:22 2017 +0000
@@ -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 @@
 }
 
 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;



Home | Main Index | Thread Index | Old Index