summaryrefslogtreecommitdiffstats
path: root/xmrstak
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-10-17 18:09:16 +0100
committerfireice-uk <fireice-uk@users.noreply.github.com>2017-10-22 13:12:52 +0100
commit27b839b8d2275c0e78a07cb03d27afb96ed6c7b9 (patch)
tree36193d26da41f8dd7c850eca25344dd9308f7667 /xmrstak
parent740cb613b83c9359ccf8f980927b1e0b507217be (diff)
downloadxmr-stak-27b839b8d2275c0e78a07cb03d27afb96ed6c7b9.zip
xmr-stak-27b839b8d2275c0e78a07cb03d27afb96ed6c7b9.tar.gz
note-to-self: don't type with your forehead
Diffstat (limited to 'xmrstak')
-rw-r--r--xmrstak/backend/cpu/minethd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/backend/cpu/minethd.cpp b/xmrstak/backend/cpu/minethd.cpp
index 4ea44bf..542e999 100644
--- a/xmrstak/backend/cpu/minethd.cpp
+++ b/xmrstak/backend/cpu/minethd.cpp
@@ -348,7 +348,7 @@ void minethd::work_main()
assert(sizeof(job_result::sJobID) == sizeof(pool_job::sJobID));
memcpy(result.sJobID, oWork.sJobID, sizeof(job_result::sJobID));
- 1while(globalStates::inst().iGlobalJobNo.load(std::memory_order_relaxed) == iJobNo)
+ while(globalStates::inst().iGlobalJobNo.load(std::memory_order_relaxed) == iJobNo)
{
if ((iCount++ & 0xF) == 0) //Store stats every 16 hashes
{
OpenPOWER on IntegriCloud