Fixed crashes on 32bit Windows

This commit is contained in:
BenDr0id 2018-04-19 17:19:23 +02:00
parent 581cf9794d
commit 8b6c062c90
4 changed files with 3 additions and 13 deletions

View file

@ -96,11 +96,6 @@ bool Job::setBlob(const char *blob)
m_nicehash = true;
}
# ifdef XMRIG_PROXY_PROJECT
memset(m_rawBlob, 0, sizeof(m_rawBlob));
memcpy(m_rawBlob, blob, m_size * 2);
# endif
return true;
}
@ -137,11 +132,6 @@ bool Job::setTarget(const char *target)
return false;
}
# ifdef XMRIG_PROXY_PROJECT
memset(m_rawTarget, 0, sizeof(m_rawTarget));
memcpy(m_rawTarget, target, len);
# endif
m_diff = toDiff(m_target);
return true;
}