Start removing warnings

This commit is contained in:
Alexander Bock
2017-04-06 20:07:01 -04:00
parent f07f246c39
commit 78b0d77101
11 changed files with 17 additions and 15 deletions
@@ -66,7 +66,7 @@ int Distance::getDesiredLevel(const Chunk& chunk, const RenderData& data) const
double scaleFactor =
globe.generalProperties().lodScaleFactor * ellipsoid.minimumRadius();
double projectedScaleFactor = scaleFactor / distance;
int desiredLevel = ceil(log2(projectedScaleFactor));
int desiredLevel = static_cast<int>(ceil(log2(projectedScaleFactor)));
return desiredLevel;
}