1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 03:24:26 +00:00

Compatibility fix.

This commit is contained in:
troky 2014-07-21 02:26:39 +02:00
parent dbe0263c2d
commit 3ddffaa915

View File

@ -7967,8 +7967,10 @@ struct _cgpu_devid_counter {
static void adjust_mostdevs(void)
{
int i;
most_devices = 0;
for (int i = 0; i < total_devices; i++) {
for (i = 0; i < total_devices; i++) {
if (devices_enabled[i]) {
most_devices++;
}