Browse Source

Merge commit '41d5813' into bfgminer

Luke Dashjr 14 years ago
parent
commit
b641489117
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -3721,7 +3721,7 @@ void *miner_thread(void *userdata)
 	struct timeval diff, sdiff, wdiff;
 	struct timeval diff, sdiff, wdiff;
 	uint32_t max_nonce = api->can_limit_work ? api->can_limit_work(mythr) : 0xffffffff;
 	uint32_t max_nonce = api->can_limit_work ? api->can_limit_work(mythr) : 0xffffffff;
 	unsigned long long hashes_done = 0;
 	unsigned long long hashes_done = 0;
-	uint32_t hashes;
+	unsigned long long hashes;
 	struct work *work = make_work();
 	struct work *work = make_work();
 	unsigned const int request_interval = opt_scantime * 2 / 3 ? : 1;
 	unsigned const int request_interval = opt_scantime * 2 / 3 ? : 1;
 	unsigned const long request_nonce = MAXTHREADS / 3 * 2;
 	unsigned const long request_nonce = MAXTHREADS / 3 * 2;