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/libpthread/thread/thr_concurrency.c | |
parent | 1e4ad4f4d52ea7bdd767ac98bc639db1fe51b55b (diff) | |
download | FreeBSD-src-33260f08b85e5057b4e36440cd584b2df321c0de.zip FreeBSD-src-33260f08b85e5057b4e36440cd584b2df321c0de.tar.gz |
sysctlbyname needs size_t type, not int.
Diffstat (limited to 'lib/libpthread/thread/thr_concurrency.c')
-rw-r--r-- | lib/libpthread/thread/thr_concurrency.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |