From e9cb629723bb0fabbad130c2a63b3cdbaaf8ba6a Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Sun, 9 Nov 2014 15:02:18 -0500 Subject: Fix some double->float conversions. --- Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp index e93b22826d..8c9060e69c 100644 --- a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp @@ -317,7 +317,7 @@ public: switch (op) { case TOK_NOT: - return 1.0f - value; + return 1.0 - value; default: assert(false); return 0; @@ -329,7 +329,7 @@ public: switch (op) { case TOK_NOT: - inner->SetValue(1.0f - value); + inner->SetValue(1.0 - value); default: assert(false); } -- cgit v1.2.3