From d15515bea4b0dc4c366d5ce89f2dbfa0cfbf6463 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 15 Nov 2012 13:09:00 +1100 Subject: [PATCH] Check against a double for current pool diff. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index cdf15a95..3c83de1a 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;