mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 20:32:49 +00:00
Fix a warning.
This commit is contained in:
parent
05a4b4fda9
commit
4d1ee0bb5b
@ -90,7 +90,7 @@ struct IsLongDouble { enum {VALUE = 0}; };
|
||||
template <>
|
||||
struct IsLongDouble<long double> { enum {VALUE = 1}; };
|
||||
|
||||
inline unsigned CountDigits(unsigned long n) {
|
||||
inline unsigned CountDigits(uint64_t n) {
|
||||
unsigned count = 1;
|
||||
for (;;) {
|
||||
// Integer division is slow so do it for a group of four digits instead
|
||||
|
Loading…
Reference in New Issue
Block a user