From 814324146b643d5bbf5ec001bc38a26397fc0d9b Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Thu, 20 Apr 2017 11:21:42 +0000 Subject: [PATCH] signed -> unsigned --- include/util/typedefs.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/util/typedefs.hpp b/include/util/typedefs.hpp index ddeec1859..d1156f08b 100644 --- a/include/util/typedefs.hpp +++ b/include/util/typedefs.hpp @@ -59,8 +59,8 @@ using EdgeID = std::uint32_t; using NameID = std::uint32_t; using EdgeWeight = std::int32_t; using EdgeDuration = std::int32_t; -using SegmentWeight = std::int32_t; -using SegmentDuration = std::int32_t; +using SegmentWeight = std::uint32_t; +using SegmentDuration = std::uint32_t; using TurnPenalty = std::int16_t; // turn penalty in 100ms units static const std::size_t INVALID_INDEX = std::numeric_limits::max();