r182514 - Insert explicit casts to try appease overload resolution in the buildbots
Pete Cooper
peter_cooper at apple.com
Wed May 22 14:02:38 PDT 2013
Author: pete
Date: Wed May 22 16:02:38 2013
New Revision: 182514
URL: http://llvm.org/viewvc/llvm-project?rev=182514&view=rev
Log:
Insert explicit casts to try appease overload resolution in the buildbots
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp?rev=182514&r1=182513&r2=182514&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp Wed May 22 16:02:38 2013
@@ -2016,7 +2016,7 @@ static void removePunyEdges(PathPieces &
if (Invalid)
continue;
- if (::abs(startCol - endCol) <= 2) {
+ if (abs((int)startCol - (int)endCol) <= 2) {
I = path.erase(I);
erased = true;
continue;
More information about the cfe-commits
mailing list