We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa3f5f7 commit 9a700a5Copy full SHA for 9a700a5
include/veriblock/pop/entities/merkle_tree.hpp
@@ -24,7 +24,7 @@ struct MerkleTree {
24
MerkleTree(Specific& instance, const std::vector<hash_t>& hashes)
25
: instance(instance) {
26
buildTree(hashes);
27
- for (int32_t i = 0, size = hashes.size(); i < size; i++) {
+ for (int32_t i = 0, size = (int32_t)hashes.size(); i < size; i++) {
28
hash_indices[hashes[i]] = i;
29
}
30
0 commit comments