Commit 4d1ee0bb authored by Victor Zverovich's avatar Victor Zverovich

Fix a warning.

parent 05a4b4fd
...@@ -90,7 +90,7 @@ struct IsLongDouble { enum {VALUE = 0}; }; ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment