mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #167
aeaa44f
fixed signed-unsigned issue from 166 (Thomas Winget)
This commit is contained in:
commit
664ae0085d
1 changed files with 2 additions and 2 deletions
|
@ -125,9 +125,9 @@ bool load_checkpoints_from_dns(cryptonote::checkpoints& checkpoints)
|
|||
std::random_device rd;
|
||||
std::mt19937 gen(rd());
|
||||
std::uniform_int_distribution<int> dis(0, dns_urls.size() - 1);
|
||||
int first_index = dis(gen);
|
||||
size_t first_index = dis(gen);
|
||||
|
||||
int cur_index = first_index;
|
||||
size_t cur_index = first_index;
|
||||
do
|
||||
{
|
||||
records = tools::DNSResolver::instance().get_txt_record(dns_urls[cur_index], avail, valid);
|
||||
|
|
Loading…
Reference in a new issue