diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-10-17 18:09:16 +0100 |
---|---|---|
committer | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-10-22 13:12:52 +0100 |
commit | 27b839b8d2275c0e78a07cb03d27afb96ed6c7b9 (patch) | |
tree | 36193d26da41f8dd7c850eca25344dd9308f7667 | |
parent | 740cb613b83c9359ccf8f980927b1e0b507217be (diff) | |
download | xmr-stak-27b839b8d2275c0e78a07cb03d27afb96ed6c7b9.zip xmr-stak-27b839b8d2275c0e78a07cb03d27afb96ed6c7b9.tar.gz |
note-to-self: don't type with your forehead
-rw-r--r-- | xmrstak/backend/cpu/minethd.cpp | 2 |
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 { |