Fix windows building (log10)
Error: math_base_inline.c(402): error C2668: 'log10' : ambiguous call to overloaded function
This commit is contained in:
parent
8a2d09eb9f
commit
0f69026b1c
|
@ -399,7 +399,7 @@ MINLINE int integer_digits_d(const double d)
|
|||
|
||||
MINLINE int integer_digits_i(const int i)
|
||||
{
|
||||
return (int)log10(i) + 1;
|
||||
return (int)log10((double)i) + 1;
|
||||
}
|
||||
|
||||
/* Internal helpers for SSE2 implementation.
|
||||
|
|
Loading…
Reference in New Issue