Changed init signature.

This commit is contained in:
XMRig
2019-08-05 16:00:48 +07:00
parent fefce7cc89
commit 651d4326d3
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;
}