Browse Source

Compatibility fix.

djm34
troky 10 years ago
parent
commit
3ddffaa915
  1. 4
      sgminer.c

4
sgminer.c

@ -7967,8 +7967,10 @@ struct _cgpu_devid_counter { @@ -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++;
}

Loading…
Cancel
Save