Fix compile warnings.

This commit is contained in:
XMRig
2020-08-24 10:04:46 +07:00
parent 6772ff6131
commit e254283089
5 changed files with 13 additions and 4 deletions

View File

@@ -207,7 +207,9 @@ RandomX_ConfigurationBase::RandomX_ConfigurationBase()
# endif
}
#ifdef XMRIG_ARMv8
static uint32_t Log2(size_t value) { return (value > 1) ? (Log2(value / 2) + 1) : 0; }
#endif
void RandomX_ConfigurationBase::Apply()
{