]> granicus.if.org Git - clang/commitdiff
Insert explicit casts to try appease overload resolution in the buildbots
authorPete Cooper <peter_cooper@apple.com>
Wed, 22 May 2013 21:02:38 +0000 (21:02 +0000)
committerPete Cooper <peter_cooper@apple.com>
Wed, 22 May 2013 21:02:38 +0000 (21:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182514 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/BugReporter.cpp

index b8be5395137700800cd2d133fae3d7b93430b27c..952fabd585e2e12c3a4caa826fd15856df9864b5 100644 (file)
@@ -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;