Add missing cast to double
This commit is contained in:
committed by
Paul Beckingham
parent
0432b9090a
commit
92af246f3a
@@ -902,7 +902,7 @@ unsigned Chart::burndown_size (unsigned ntasks)
|
|||||||
|
|
||||||
// Choose the number from here rounded up to the nearest 10% of the next
|
// Choose the number from here rounded up to the nearest 10% of the next
|
||||||
// highest power of 10 or half of power of 10.
|
// highest power of 10 or half of power of 10.
|
||||||
const unsigned count = (unsigned) log10 (std::numeric_limits<unsigned>::max ());
|
const unsigned count = (unsigned) log10 (static_cast<double>(std::numeric_limits<unsigned>::max ()));
|
||||||
unsigned half = 500;
|
unsigned half = 500;
|
||||||
unsigned full = 1000;
|
unsigned full = 1000;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user