use explicit unsigned type in max operation
This commit is contained in:
		
							parent
							
								
									cf527ed819
								
							
						
					
					
						commit
						e36a27307b
					
				| @ -90,5 +90,5 @@ void GeometryCompressor::PrintStatistics() const { | ||||
|     SimpleLogger().Write() << | ||||
|         "surv: " << surviving_node_count << | ||||
|         ", comp: " << compressed_node_count << | ||||
|         ", comp ratio: " << ((float)surviving_node_count/std::max(compressed_node_count), 1); | ||||
|         ", comp ratio: " << ((float)surviving_node_count/std::max(compressed_node_count, 1u) ); | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user