summaryrefslogtreecommitdiff
path: root/usr.bin/tip
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2009-01-18 07:11:45 +0000
committerlukem <lukem@NetBSD.org>2009-01-18 07:11:45 +0000
commitc493aef50078ee1622fd420625bb1c119c12b750 (patch)
tree35546823f56b7117622617cedfa2ea07559a3b0d /usr.bin/tip
parent7e973711c32f6f930762c8608454df5d472cb542 (diff)
fix -Wsign-compare issues
Diffstat (limited to 'usr.bin/tip')
-rw-r--r--usr.bin/tip/aculib/hayes.c6
-rw-r--r--usr.bin/tip/tip.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/tip/aculib/hayes.c b/usr.bin/tip/aculib/hayes.c
index 63080532245..4cb49b09f3b 100644
--- a/usr.bin/tip/aculib/hayes.c
+++ b/usr.bin/tip/aculib/hayes.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hayes.c,v 1.15 2006/12/14 17:09:43 christos Exp $ */
+/* $NetBSD: hayes.c,v 1.16 2009/01/18 07:12:39 lukem Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)hayes.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: hayes.c,v 1.15 2006/12/14 17:09:43 christos Exp $");
+__RCSID("$NetBSD: hayes.c,v 1.16 2009/01/18 07:12:39 lukem Exp $");
#endif /* not lint */
/*
@@ -155,7 +155,7 @@ gobble(const char *match)
{
char c;
sig_t f;
- int i;
+ size_t i;
volatile int status = 0;
f = signal(SIGALRM, sigALRM);
diff --git a/usr.bin/tip/tip.c b/usr.bin/tip/tip.c
index d57a5c59a21..8f4689b6410 100644
--- a/usr.bin/tip/tip.c
+++ b/usr.bin/tip/tip.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tip.c,v 1.49 2008/07/21 14:19:26 lukem Exp $ */
+/* $NetBSD: tip.c,v 1.50 2009/01/18 07:12:39 lukem Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\
#if 0
static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: tip.c,v 1.49 2008/07/21 14:19:26 lukem Exp $");
+__RCSID("$NetBSD: tip.c,v 1.50 2009/01/18 07:12:39 lukem Exp $");
#endif /* not lint */
/*
@@ -510,7 +510,7 @@ static char partab[0200];
void
xpwrite(int fd, char *buf, size_t n)
{
- int i;
+ size_t i;
char *bp;
bp = buf;