summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
diff options
context:
space:
mode:
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