Add missing cast to double
This commit is contained in:
committed by
Paul Beckingham
parent
61685714c6
commit
24ae19b8e5
@@ -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<unsigned>::max ());
|
||||
const unsigned count = (unsigned) log10 (static_cast<double>(std::numeric_limits<unsigned>::max ()));
|
||||
unsigned half = 500;
|
||||
unsigned full = 1000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user