diff options
| author | Marshall Clow <mclow@qualcomm.com> | 2013-02-07 17:37:58 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow@qualcomm.com> | 2013-02-07 17:37:58 +0000 |
| commit | 63f700e4d1876abcce74276dbf9838f9902e7664 (patch) | |
| tree | 287881873509e7586bc7155e6549355d520e2681 | |
| parent | d58e0f5505297e2e318606c6cf0b5c706994b6df (diff) | |
| download | bcm5719-llvm-63f700e4d1876abcce74276dbf9838f9902e7664.tar.gz bcm5719-llvm-63f700e4d1876abcce74276dbf9838f9902e7664.zip | |
Another libc++ warning suppression on Linux; no functionality change
llvm-svn: 174637
| -rw-r--r-- | libcxx/src/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/thread.cpp b/libcxx/src/thread.cpp index b2bd07e9d3b..184d81e6b2f 100644 --- a/libcxx/src/thread.cpp +++ b/libcxx/src/thread.cpp @@ -71,7 +71,7 @@ thread::hardware_concurrency() _NOEXCEPT // does not have a definite limit. if (result == -1) return 0; - return result; + return static_cast<unsigned>(result); #else // defined(CTL_HW) && defined(HW_NCPU) // TODO: grovel through /proc or check cpuid on x86 and similar // instructions on other architectures. |

