diff options
-rw-r--r-- | include/llvm/Instructions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 13ed8c1f6e..9f13e21252 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -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 { |