From: Pete Cooper Date: Wed, 22 May 2013 21:02:38 +0000 (+0000) Subject: Insert explicit casts to try appease overload resolution in the buildbots X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34bd3331b5ed34cc9027ee00e1aaabfecff8f742;p=clang Insert explicit casts to try appease overload resolution in the buildbots git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182514 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index b8be539513..952fabd585 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -2016,7 +2016,7 @@ static void removePunyEdges(PathPieces &path, if (Invalid) continue; - if (::abs(startCol - endCol) <= 2) { + if (abs((int)startCol - (int)endCol) <= 2) { I = path.erase(I); erased = true; continue;