commit | ec3773c2dadbeadfc5def927116c2ee9d9c53066 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Thu Dec 01 20:21:04 2011 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Thu Dec 01 20:21:04 2011 +0000 |
tree | 556cfdc9a9d1d6cb484a88a2771ed9c92c13037a | |
parent | 9996844df0f22a68a1af6d30c611be1f1ebf1486 [diff] [blame] |
Quash a whole bunch of warnings git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@145624 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/src/thread.cpp b/src/thread.cpp index b07f8f8..cc8c327 100644 --- a/src/thread.cpp +++ b/src/thread.cpp
@@ -55,7 +55,7 @@ thread::hardware_concurrency() { #if defined(CTL_HW) && defined(HW_NCPU) - int n; + unsigned n; int mib[2] = {CTL_HW, HW_NCPU}; std::size_t s = sizeof(n); sysctl(mib, 2, &n, &s, 0, 0);