Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Mar 23, 2022
1 parent aa3f5f7 commit 9a700a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/veriblock/pop/entities/merkle_tree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct MerkleTree {
MerkleTree(Specific& instance, const std::vector<hash_t>& hashes)
: instance(instance) {
buildTree(hashes);
for (int32_t i = 0, size = hashes.size(); i < size; i++) {
for (int32_t i = 0, size = (int32_t)hashes.size(); i < size; i++) {
hash_indices[hashes[i]] = i;
}
}
Expand Down

0 comments on commit 9a700a5

Please sign in to comment.