|
@@ -3797,7 +3797,7 @@ void *miner_thread(void *userdata)
|
|
|
unsigned long long hashes_done = 0;
|
|
unsigned long long hashes_done = 0;
|
|
|
unsigned long long 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;
|
|
|
|
|
|
|
+ const time_t request_interval = opt_scantime * 2 / 3 ? : 1;
|
|
|
unsigned const long request_nonce = MAXTHREADS / 3 * 2;
|
|
unsigned const long request_nonce = MAXTHREADS / 3 * 2;
|
|
|
bool requested = false;
|
|
bool requested = false;
|
|
|
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
|
|
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
|