mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Add missing cast to double
This commit is contained in:
parent
61685714c6
commit
24ae19b8e5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue