fix int/long type mismatches found on alpha
This commit is contained in:
parent
d9c0ea6db1
commit
635ce2d734
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user