use explicit unsigned type in max operation

This commit is contained in:
Dennis Luxen 2013-11-26 14:27:19 +01:00
parent 19f6d885fe
commit 22abc27b6b

View File

@ -90,5 +90,5 @@ void GeometryCompressor::PrintStatistics() const {
SimpleLogger().Write() << SimpleLogger().Write() <<
"surv: " << surviving_node_count << "surv: " << surviving_node_count <<
", comp: " << compressed_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) );
} }