Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/tail [tail] Fix type of 'len'



details:   https://anonhg.NetBSD.org/src/rev/2912f92e3d63
branches:  trunk
changeset: 321189:2912f92e3d63
user:      eadler <eadler%NetBSD.org@localhost>
date:      Tue Mar 06 03:33:26 2018 +0000

description:
[tail] Fix type of 'len'

ok pgoyette

diffstat:

 usr.bin/tail/tail.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 10f2aec61e3e -r 2912f92e3d63 usr.bin/tail/tail.c
--- a/usr.bin/tail/tail.c       Tue Mar 06 01:14:41 2018 +0000
+++ b/usr.bin/tail/tail.c       Tue Mar 06 03:33:26 2018 +0000
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "@(#)tail.c     8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: tail.c,v 1.19 2017/10/02 08:23:23 wiz Exp $");
+__RCSID("$NetBSD: tail.c,v 1.20 2018/03/06 03:33:26 eadler Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -235,7 +235,7 @@
 obsolete(char *argv[])
 {
        char *ap, *p, *t;
-       int len;
+       size_t len;
        char *start;
 
        while ((ap = *++argv) != NULL) {



Home | Main Index | Thread Index | Old Index