aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Analysis/GRExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Analysis/GRExprEngine.cpp b/Analysis/GRExprEngine.cpp
index 51b0a597ee..c326df5499 100644
--- a/Analysis/GRExprEngine.cpp
+++ b/Analysis/GRExprEngine.cpp
@@ -946,7 +946,7 @@ void GRExprEngine::VisitBinaryOperator(BinaryOperator* B,
// Perform promotions.
V = EvalCast(V, CTy);
- RightV = EvalCast(V, CTy);
+ RightV = EvalCast(RightV, CTy);
// Evaluate operands and promote to result type.
RVal Result = EvalCast(EvalBinOp(Op, V, RightV), B->getType());