Silencing an MSVC signed comparison warning.
[oota-llvm.git] / lib / Target / PowerPC / PPCCTRLoops.cpp
index fad48c543395a603f4d60da4b1057410f082fa3e..feba3f1b794ec553610b7c221cf13cb6d58b28b6 100644 (file)
@@ -189,7 +189,7 @@ bool PPCCTRLoops::runOnFunction(Function &F) {
 
 static bool isLargeIntegerTy(bool Is32Bit, Type *Ty) {
   if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
-    return ITy->getBitWidth() > (Is32Bit ? 32 : 64);
+    return ITy->getBitWidth() > (Is32Bit ? 32U : 64U);
 
   return false;
 }