From 1188002bcb2799dbf4b3a0c075384c19b122e954 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 15 Jul 2014 16:48:04 +0200 Subject: [PATCH] downcast position explicitly to unsigned --- Descriptors/JSONDescriptor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Descriptors/JSONDescriptor.h b/Descriptors/JSONDescriptor.h index f4269c781..2a638915b 100644 --- a/Descriptors/JSONDescriptor.h +++ b/Descriptors/JSONDescriptor.h @@ -350,7 +350,7 @@ template class JSONDescriptor : public BaseDescriptor(round(bearing_value))); route_segments_list.emplace_back( - segment.name_id, static_cast(segment.length), route_segments_list.size()); + segment.name_id, static_cast(segment.length), static_cast(route_segments_list.size())); json_instruction_array.values.push_back(json_instruction_row); } }