diff options
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerUtil.cpp')
| -rw-r--r-- | llvm/lib/Fuzzer/FuzzerUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerUtil.cpp b/llvm/lib/Fuzzer/FuzzerUtil.cpp index 18f690c6d97..f5fd3a85187 100644 --- a/llvm/lib/Fuzzer/FuzzerUtil.cpp +++ b/llvm/lib/Fuzzer/FuzzerUtil.cpp @@ -195,7 +195,7 @@ void PrintPC(const char *SymbolizedFMT, const char *FallbackFMT, uintptr_t PC) { Printf(FallbackFMT, PC); } -int NumberOfCpuCores() { +unsigned NumberOfCpuCores() { unsigned N = std::thread::hardware_concurrency(); if (!N) { Printf("WARNING: std::thread::hardware_concurrency not well defined for " |

