summaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/BugReporter.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2013-05-22 21:02:38 +0000
committerPete Cooper <peter_cooper@apple.com>2013-05-22 21:02:38 +0000
commit34bd3331b5ed34cc9027ee00e1aaabfecff8f742 (patch)
tree1cdde9104d9bf26c281fe72c9d867abb9842503a /lib/StaticAnalyzer/Core/BugReporter.cpp
parent13feb9201e3a44d5e6159c67914c76d583a12769 (diff)
downloadclang-34bd3331b5ed34cc9027ee00e1aaabfecff8f742.tar.gz
clang-34bd3331b5ed34cc9027ee00e1aaabfecff8f742.tar.bz2
clang-34bd3331b5ed34cc9027ee00e1aaabfecff8f742.tar.xz
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
Diffstat (limited to 'lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/BugReporter.cpp2
1 files changed, 1 insertions, 1 deletions
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;