diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-07-31 08:26:58 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-07-31 08:26:58 +0000 |
commit | 33260f08b85e5057b4e36440cd584b2df321c0de (patch) | |
tree | 3f3064a5aaa1dbbe6d8602bcb5386401c73dfd59 /lib | |
parent | 1e4ad4f4d52ea7bdd767ac98bc639db1fe51b55b (diff) | |
download | FreeBSD-src-33260f08b85e5057b4e36440cd584b2df321c0de.zip FreeBSD-src-33260f08b85e5057b4e36440cd584b2df321c0de.tar.gz |
sysctlbyname needs size_t type, not int.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkse/thread/thr_concurrency.c | 2 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_concurrency.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkse/thread/thr_concurrency.c b/lib/libkse/thread/thr_concurrency.c index a5393c0..8eaa6c1 100644 --- a/lib/libkse/thread/thr_concurrency.c +++ b/lib/libkse/thread/thr_concurrency.c @@ -127,7 +127,7 @@ int _thr_setmaxconcurrency(void) { int vcpu; - int len; + size_t len; int ret; len = sizeof(vcpu); diff --git a/lib/libpthread/thread/thr_concurrency.c b/lib/libpthread/thread/thr_concurrency.c index a5393c0..8eaa6c1 100644 --- a/lib/libpthread/thread/thr_concurrency.c +++ b/lib/libpthread/thread/thr_concurrency.c @@ -127,7 +127,7 @@ int _thr_setmaxconcurrency(void) { int vcpu; - int len; + size_t len; int ret; len = sizeof(vcpu); |