diff --git a/src/commands/CmdBurndown.cpp b/src/commands/CmdBurndown.cpp index 9dae59d50..c54abad41 100644 --- a/src/commands/CmdBurndown.cpp +++ b/src/commands/CmdBurndown.cpp @@ -902,7 +902,7 @@ unsigned Chart::burndown_size (unsigned ntasks) // Choose the number from here rounded up to the nearest 10% of the next // highest power of 10 or half of power of 10. - const unsigned count = (unsigned) log10 (std::numeric_limits::max ()); + const unsigned count = (unsigned) log10 (static_cast(std::numeric_limits::max ())); unsigned half = 500; unsigned full = 1000;