From 34bd3331b5ed34cc9027ee00e1aaabfecff8f742 Mon Sep 17 00:00:00 2001 From: Pete Cooper Date: Wed, 22 May 2013 21:02:38 +0000 Subject: [PATCH] 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 --- lib/StaticAnalyzer/Core/BugReporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0