Fixed compile break

This commit is contained in:
Ben Gräf 2019-11-03 20:49:55 +01:00 committed by GitHub
parent e88ba694e6
commit 8ec1bd4ca7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,7 +290,7 @@ void xmrig::HwlocCpuInfo::processTopLevelCache(hwloc_obj_t cache, const Algorith
}
# endif
if (algorithm == Algorithm::CN_CONCEAL)
if (algorithm == Algorithm::CN_CONCEAL) {
intensity = std::min<uint32_t >(static_cast<const uint32_t &>(cacheHashes / PUs), algorithm.maxIntensity());
}