Fixing a type width warning with MSVC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163481 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Aaron Ballman 2012-09-09 20:34:25 +00:00
parent 3be7584f40
commit 236bcf1fcd

View File

@ -689,7 +689,7 @@ public:
}
virtual Init *getBit(unsigned Bit) const {
return BitInit::get((Value & (1 << Bit)) != 0);
return BitInit::get((Value & (1ULL << Bit)) != 0);
}
};