mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05:00
Fix off-by-one error
This commit is contained in:
@@ -413,7 +413,7 @@ extern "C" {
|
|||||||
|
|
||||||
constexpr size_t VM_POOL_SIZE = 2 * 1024 * 1024;
|
constexpr size_t VM_POOL_SIZE = 2 * 1024 * 1024;
|
||||||
|
|
||||||
if (node > 64) {
|
if (node >= 64) {
|
||||||
node = 0;
|
node = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user