mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Fixed MSVC Win64 warning of implicit conversion of 32-bit shift to 64-bits.
llvm-svn: 258084
This commit is contained in:
parent
72115d5fb6
commit
269ccdb97d
@ -315,7 +315,7 @@ void NodeAllocator::startNewBlock() {
|
||||
// Check if the block index is still within the allowed range, i.e. less
|
||||
// than 2^N, where N is the number of bits in NodeId for the block index.
|
||||
// BitsPerIndex is the number of bits per node index.
|
||||
assert((Blocks.size() < (1U << (8*sizeof(NodeId)-BitsPerIndex))) &&
|
||||
assert((Blocks.size() < ((size_t)1 << (8*sizeof(NodeId)-BitsPerIndex))) &&
|
||||
"Out of bits for block index");
|
||||
ActiveEnd = P;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user