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;
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits