utils: system_cpu_available inconsistent return type
semenov-vladyslav opened this issue · 1 comments
semenov-vladyslav commented
system_cpu_available
is declared as returning size_t
but defined as returning int
. This might result in UB, specifically the UB was triggered from iota_pow_flex
in binary compiled for trinity on Windows.
semenov-vladyslav commented
Fixed in PR #1462.