mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-19 05:58:41 +02:00
Fix off-by-one
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ public:
|
||||
{
|
||||
bool double_mode;
|
||||
|
||||
if(L3KB_size < 0)
|
||||
if(L3KB_size <= 0)
|
||||
break;
|
||||
|
||||
double_mode = L3KB_size / 2048 > (int32_t)(corecnt-i);
|
||||
|
||||
Reference in New Issue
Block a user