mirror of
https://github.com/wiire-a/pixiewps.git
synced 2025-07-25 23:05:31 +02:00
Fixed #67
Fixed issue of non-termination when using 01/1970 (Unix epoch -> 0) as ending point on Windows. Thanks to @rofl0r for fixing it.
This commit is contained in:
parent
6082da892b
commit
b8c4636d98
@ -115,7 +115,7 @@ static void crack_thread_rtl(struct crack_job *j) {
|
||||
seed--;
|
||||
|
||||
if (seed < j->start - SEEDS_PER_JOB_BLOCK) {
|
||||
long long tmp = j->start - SEEDS_PER_JOB_BLOCK * job_control.jobs;
|
||||
int64_t tmp = (int64_t)j->start - SEEDS_PER_JOB_BLOCK * job_control.jobs;
|
||||
if (tmp < 0) break;
|
||||
j->start = tmp;
|
||||
seed = j->start;
|
||||
|
Loading…
x
Reference in New Issue
Block a user