diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-09-23 19:45:58 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-09-23 19:45:58 +0300 |
commit | 21fdf0485fc4198ef6b159afb6577cbd31687fc4 (patch) | |
tree | 207944f628ffee632c67561f11f2f65a202c78dd /indra/llui | |
parent | 2412725293b1715c596395e62b3da341e15b69ac (diff) |
MAINT-6747 eliminating convertion error
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llspinctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llspinctrl.cpp b/indra/llui/llspinctrl.cpp index 8b1ba406c8..d49e216898 100644 --- a/indra/llui/llspinctrl.cpp +++ b/indra/llui/llspinctrl.cpp @@ -153,7 +153,7 @@ F32 clamp_precision(F32 value, S32 decimal_precision) for (S32 i = 0; i < decimal_precision; i++) clamped_value *= 10.0; - clamped_value = ll_round((F32)clamped_value); + clamped_value = ll_round(clamped_value); for (S32 i = 0; i < decimal_precision; i++) clamped_value /= 10.0; |