diff options
-rw-r--r-- | lib/Format/TokenAnnotator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Format/TokenAnnotator.cpp b/lib/Format/TokenAnnotator.cpp index 80089de207..1e59561076 100644 --- a/lib/Format/TokenAnnotator.cpp +++ b/lib/Format/TokenAnnotator.cpp @@ -729,7 +729,7 @@ public: // found, insert fake parenthesis and return. if (Current == NULL || Current->is(tok::semi) || closesScope(*Current) || ((Current->Type == TT_BinaryOperator || Current->is(tok::comma)) && - getPrecedence(*Current) < Precedence)) { + getPrecedence(*Current) < static_cast<prec::Level>(Precedence))) { if (OperatorFound) { ++Start->FakeLParens; if (Current != NULL) |