cast bearing to unsigned
This commit is contained in:
		
							parent
							
								
									7c0866f626
								
							
						
					
					
						commit
						b8ea935424
					
				| @ -203,7 +203,7 @@ class DescriptionFactory | ||||
|                     via_indices.push_back(necessary_pieces); | ||||
|                 } | ||||
|                 const double angle = path_description[i+1].location.GetBearing(path_description[i].location); | ||||
|                 path_description[i].bearing = angle * 10; | ||||
|                 path_description[i].bearing = static_cast<unsigned>(angle) * 10; | ||||
|             } | ||||
|         } | ||||
|         via_indices.push_back(necessary_pieces+1); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user