Fix windows building (log10)

Error: math_base_inline.c(402): error C2668: 'log10' : ambiguous call to
overloaded function
This commit is contained in:
Dalai Felinto 2018-01-22 11:27:58 -02:00
parent 8a2d09eb9f
commit 0f69026b1c
1 changed files with 1 additions and 1 deletions

View File

@ -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.