mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-08 13:00:50 +00:00
Fixing a compile warning triggered in MSVC about constant truncation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152518 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9130b42a85
commit
a13fb621bb
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user