Fix compile warnings.

This commit is contained in:
XMRig 2020-08-24 10:04:46 +07:00
parent bc128d11d9
commit 72c8404d18
No known key found for this signature in database
GPG key ID: 446A53638BE94409
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()
{