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