Commit 67c5da49b66557631ab9d1db980b7505b33485f9

Con Kolivas 2013-04-05T21:01:42

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/miner.h b/miner.h
index 58095e8..819d242 100644
--- a/miner.h
+++ b/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