File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2
2
- Changes from 5.23.0
3
3
- Infrastructure
4
4
- CHANGED: Bundled protozero updated to v1.7.0. [ #5858 ] ( https://github.com/Project-OSRM/osrm-backend/pull/5858 )
5
+ - Windows:
6
+ - FIXED: Fix bit-shift overflow in MLD partition step. [ #5878 ] ( https://github.com/Project-OSRM/osrm-backend/pull/5878 )
7
+
5
8
6
9
# 5.23.0
7
10
- Changes from 5.22.0
Original file line number Diff line number Diff line change @@ -212,10 +212,10 @@ template <storage::Ownership Ownership> class MultiLevelPartitionImpl final
212
212
// create mask that has `bits` ones at its LSBs.
213
213
// 000011
214
214
BOOST_ASSERT (offset < NUM_PARTITION_BITS);
215
- PartitionID mask = (1UL << offset) - 1UL ;
215
+ PartitionID mask = (1ULL << offset) - 1ULL ;
216
216
// 001111
217
217
BOOST_ASSERT (next_offset < NUM_PARTITION_BITS);
218
- PartitionID next_mask = (1UL << next_offset) - 1UL ;
218
+ PartitionID next_mask = (1ULL << next_offset) - 1ULL ;
219
219
// 001100
220
220
masks[lidx++] = next_mask ^ mask;
221
221
});
You can’t perform that action at this time.
0 commit comments