sysctlbyname needs size_t type, not int.
This commit is contained in:
parent
c322666362
commit
f34f8f8b3e
@ -127,7 +127,7 @@ int
|
||||
_thr_setmaxconcurrency(void)
|
||||
{
|
||||
int vcpu;
|
||||
int len;
|
||||
size_t len;
|
||||
int ret;
|
||||
|
||||
len = sizeof(vcpu);
|
||||
|
@ -127,7 +127,7 @@ int
|
||||
_thr_setmaxconcurrency(void)
|
||||
{
|
||||
int vcpu;
|
||||
int len;
|
||||
size_t len;
|
||||
int ret;
|
||||
|
||||
len = sizeof(vcpu);
|
||||
|
Loading…
Reference in New Issue
Block a user