Fixing a compile warning triggered in MSVC about constant truncation.

llvm-svn: 152518
This commit is contained in:
Aaron Ballman 2012-03-10 23:03:01 +00:00
parent 69772efcb2
commit c45f292040

View File

@ -2468,7 +2468,8 @@ protected:
virtual SwitchInst *clone_impl() const;
public:
static const unsigned DefaultPseudoIndex = ~0L-1; // -2
// -2
static const unsigned DefaultPseudoIndex = static_cast<unsigned>(~0L-1);
template <class SwitchInstTy, class ConstantIntTy, class BasicBlockTy>
class CaseIteratorT {