Changed init signature.

This commit is contained in:
XMRig 2019-08-05 16:00:48 +07:00
parent a8e86c3530
commit 044fbd7e82
4 changed files with 6 additions and 6 deletions

View file

@ -62,7 +62,7 @@ xmrig::RxCache::~RxCache()
}
bool xmrig::RxCache::init(const void *seed)
bool xmrig::RxCache::init(const uint8_t *seed)
{
if (isReady(seed)) {
return false;
@ -75,7 +75,7 @@ bool xmrig::RxCache::init(const void *seed)
}
bool xmrig::RxCache::isReady(const void *seed) const
bool xmrig::RxCache::isReady(const uint8_t *seed) const
{
return memcmp(m_seed, seed, sizeof(m_seed)) == 0;
}