1 | diff --git a/include/boost/multi_index/hashed_index.hpp b/include/boost/multi_index/hashed_index.hpp
|
---|
2 | index 602a5a3..ecd7b84 100644
|
---|
3 | --- a/include/boost/multi_index/hashed_index.hpp
|
---|
4 | +++ b/include/boost/multi_index/hashed_index.hpp
|
---|
5 | @@ -1340,7 +1340,7 @@ private:
|
---|
6 | std::size_t prev_buc=buckets.position(hashes.data()[i-1]);
|
---|
7 | if(!within_bucket)prev_buc=~prev_buc;
|
---|
8 |
|
---|
9 | - for(int j=i;j--;){
|
---|
10 | + for(size_t j=i;j--;){
|
---|
11 | std::size_t buc=buckets.position(hashes.data()[j]);
|
---|
12 | node_impl_pointer x=node_ptrs.data()[j];
|
---|
13 | if(buc==prev_buc)node_alg::append(x,end_);
|
---|
14 | @@ -1396,7 +1396,7 @@ private:
|
---|
15 | std::size_t prev_buc=buckets.position(hashes.data()[i-1]);
|
---|
16 | if(!within_bucket)prev_buc=~prev_buc;
|
---|
17 |
|
---|
18 | - for(int j=i;j--;){
|
---|
19 | + for(size_t j=i;j--;){
|
---|
20 | std::size_t buc=buckets.position(hashes.data()[j]);
|
---|
21 | node_impl_pointer x=node_ptrs.data()[j],
|
---|
22 | y=
|
---|