summaryrefslogtreecommitdiffstats
path: root/clang/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
commitf2ec16eb8bb19965c16d5a2b492e57d2053e0d3f (patch)
tree760ed353a21572326ef905e7299a475467e185ad /clang/lib/StaticAnalyzer/Core/BugReporter.cpp
parenta1b5dd9a2012398d9189ce3f397f9c48047776ef (diff)
downloadbcm5719-llvm-f2ec16eb8bb19965c16d5a2b492e57d2053e0d3f.tar.gz
bcm5719-llvm-f2ec16eb8bb19965c16d5a2b492e57d2053e0d3f.zip
Insert explicit casts to try appease overload resolution in the buildbots
llvm-svn: 182514
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/BugReporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
index b8be5395137..952fabd585e 100644
--- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud