Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/vmstat Make "i" unsigned to mirror change to struct ...



details:   https://anonhg.NetBSD.org/src/rev/357c57392f0e
branches:  trunk
changeset: 756153:357c57392f0e
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jul 07 11:42:18 2010 +0000

description:
Make "i" unsigned to mirror change to struct uvm_history

diffstat:

 usr.bin/vmstat/vmstat.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c9fced6e8949 -r 357c57392f0e usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c   Wed Jul 07 11:04:52 2010 +0000
+++ b/usr.bin/vmstat/vmstat.c   Wed Jul 07 11:42:18 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.168 2010/04/05 08:03:42 he Exp $ */
+/* $NetBSD: vmstat.c,v 1.169 2010/07/07 11:42:18 pooka Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000, 2001, 2007 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
 #if 0
 static char sccsid[] = "@(#)vmstat.c   8.2 (Berkeley) 3/1/95";
 #else
-__RCSID("$NetBSD: vmstat.c,v 1.168 2010/04/05 08:03:42 he Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.169 2010/07/07 11:42:18 pooka Exp $");
 #endif
 #endif /* not lint */
 
@@ -1671,7 +1671,7 @@
        size_t histsize;
        char *fmt = NULL, *fn = NULL;
        size_t fmtlen = 0, fnlen = 0;
-       int i;
+       unsigned i;
 
        histsize = sizeof(struct uvm_history_ent) * histp->n;
 



Home | Main Index | Thread Index | Old Index