diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-01-23 03:45:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-01-23 03:45:39 +0300 |
commit | fc1fd2704a7b1cc448b20ed5cb596784cb764224 (patch) | |
tree | 2b24db79955d2ac49e0d45d269cec0917a387cdc /source | |
parent | 367e61117907bb7507935251ecb7e396a4c91cbc (diff) | |
parent | bf7e4067663cec0a3b4d3194e89a28aa62b39773 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/math_base_inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_base_inline.c b/source/blender/blenlib/intern/math_base_inline.c index a0c13e14e72..2f5b0f420b1 100644 --- a/source/blender/blenlib/intern/math_base_inline.c +++ b/source/blender/blenlib/intern/math_base_inline.c @@ -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. |