diff --git a/Descriptors/JSONDescriptor.h b/Descriptors/JSONDescriptor.h index 190bfc5f7..f4269c781 100644 --- a/Descriptors/JSONDescriptor.h +++ b/Descriptors/JSONDescriptor.h @@ -344,13 +344,13 @@ template class JSONDescriptor : public BaseDescriptor(segment.length)) + "m"); + UintToString(static_cast(segment.length)) + "m"); const double bearing_value = (segment.bearing / 10.) ; json_instruction_row.values.push_back(Azimuth::Get(bearing_value)); json_instruction_row.values.push_back(static_cast(round(bearing_value))); route_segments_list.emplace_back( - segment.name_id, segment.length, route_segments_list.size()); + segment.name_id, static_cast(segment.length), route_segments_list.size()); json_instruction_array.values.push_back(json_instruction_row); } }