From 635ce2d7347696d1e73e9e047fdfbfadbde7bd0e Mon Sep 17 00:00:00 2001 From: gallatin Date: Fri, 1 Dec 2000 20:01:38 +0000 Subject: [PATCH] fix int/long type mismatches found on alpha --- usr.bin/systat/vmstat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index 89fccef9c0bb..2617d2dad25d 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -80,8 +80,8 @@ static struct Info { long *intrcnt; int bufspace; int desiredvnodes; - long numvnodes; - long freevnodes; + int numvnodes; + int freevnodes; long numdirtybuffers; } s, s1, s2, z; @@ -716,8 +716,8 @@ getinfo(s, st) enum state st; { struct devinfo *tmp_dinfo; - size_t len; - int mib[2], size, err; + size_t len, size; + int mib[2], err; len = sizeof(s->time); err = sysctlbyname("kern.cp_time", &s->time, &len, NULL, 0);