Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-01-23 03:45:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-01-23 03:45:39 +0300
commitfc1fd2704a7b1cc448b20ed5cb596784cb764224 (patch)
tree2b24db79955d2ac49e0d45d269cec0917a387cdc /source
parent367e61117907bb7507935251ecb7e396a4c91cbc (diff)
parentbf7e4067663cec0a3b4d3194e89a28aa62b39773 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/math_base_inline.c2
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.