From 1dfb95de22990708b0172826803796c803d0b4f9 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Tue, 15 May 2018 20:43:00 -0300 Subject: [PATCH] Fix compile error with clang --- editor/editor_spin_slider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index 8143e74a400..9764364273f 100644 --- a/editor/editor_spin_slider.cpp +++ b/editor/editor_spin_slider.cpp @@ -64,7 +64,7 @@ void EditorSpinSlider::_gui_input(const Ref &p_event) { double v = get_value(); double diff_x = mm->get_relative().x; - diff_x = Math::pow(ABS(diff_x), 1.8f) * SGN(diff_x); + diff_x = Math::pow(ABS(diff_x), 1.8) * SGN(diff_x); diff_x *= 0.1; v += diff_x * get_step();