mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
fix: CI warnings (hopefully)
This commit is contained in:
parent
b3e3e3b2ca
commit
4dcdd22f33
@ -59,7 +59,7 @@ uint64_t count_digits(uint64_t n) {
|
||||
//handling the value 0
|
||||
return 0;
|
||||
}
|
||||
uint64_t count = floor(log10(n) + 1);
|
||||
uint64_t count = floor(log10(uint64_t(n)) + 1);
|
||||
|
||||
return count;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user