Skip to content

Commit

Permalink
fix signed/unsigned comparison in assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM committed Jul 11, 2014
1 parent 218c810 commit f6f0f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RoutingAlgorithms/BasicRoutingInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ template <class DataFacadeT> class BasicRoutingInterface
for (int i = start_index; i != end_index; (start_index < end_index ? ++i : --i))
{
BOOST_ASSERT(i >= -1);
BOOST_ASSERT(i < id_vector.size());
BOOST_ASSERT(i < (int)id_vector.size());
unpacked_path.emplace_back(PathData{id_vector[i],
phantom_node_pair.target_phantom.name_id,
TurnInstruction::NoTurn,
Expand Down

0 comments on commit f6f0f1f

Please sign in to comment.