Fix build warning.
[oota-llvm.git] / lib / Transforms / Utils / SimplifyCFG.cpp
index 3fd8c81fe4a8f816fe431e2d4627b6f7fbc5ee74..0277ed34f844817754a0a20b21c96520b498eb7b 100644 (file)
@@ -2992,7 +2992,7 @@ bool SimplifyCFGOpt::SimplifyCleanupReturn(CleanupReturnInst *RI) {
  
       int Idx = DestPN->getBasicBlockIndex(BB);
       // Since BB unwinds to UnwindDest, it has to be in the PHI node.
-      assert(Idx != -1U);
+      assert(Idx != -1);
       // This PHI node has an incoming value that corresponds to a control
       // path through the cleanup pad we are removing.  If the incoming
       // value is in the cleanup pad, it must be a PHINode (because we