mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-02 09:01:37 +00:00
Fixing a compile warning triggered in MSVC about constant truncation.
llvm-svn: 152518
This commit is contained in:
parent
69772efcb2
commit
c45f292040
@ -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