Browse Source

Members of cgpu_info for avalon are not meant to be in the union.

Con Kolivas 13 years ago
parent
commit
67c5da49b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.h

+ 1 - 1
miner.h

@@ -426,11 +426,11 @@ struct cgpu_info {
 #if defined(USE_ICARUS) || defined(USE_AVALON)
 		int device_fd;
 #endif
+	};
 #ifdef USE_AVALON
 	struct work **works;
 	int queued;
 #endif
-	};
 #ifdef USE_USBUTILS
 	struct cg_usb_info usbinfo;
 #endif