1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 15:27:53 +00:00

Check against a double for current pool diff.

This commit is contained in:
Con Kolivas 2012-11-15 13:09:00 +11:00
parent b3864d1a94
commit d15515bea4

View File

@ -5358,7 +5358,7 @@ static bool hashtest(struct thr_info *thr, struct work *work)
} }
if (work->stratum) { if (work->stratum) {
int diff; double diff;
mutex_lock(&pool->pool_lock); mutex_lock(&pool->pool_lock);
diff = pool->swork.diff; diff = pool->swork.diff;