Commit d15515bea4b0dc4c366d5ce89f2dbfa0cfbf6463

Con Kolivas 2012-11-15T13:09:00

Check against a double for current pool diff.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index cdf15a9..3c83de1 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -5358,7 +5358,7 @@ static bool hashtest(struct thr_info *thr, struct work *work)
 	}
 
 	if (work->stratum) {
-		int diff;
+		double diff;
 
 		mutex_lock(&pool->pool_lock);
 		diff = pool->swork.diff;