mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
Avoid sign compare warning.
llvm-svn: 159481
This commit is contained in:
parent
065c63c4ca
commit
19c2badc83
@ -843,7 +843,7 @@ public:
|
||||
for (BucketT *P = getBuckets(), *E = P + InlineBuckets; P != E; ++P) {
|
||||
if (!KeyInfoT::isEqual(P->first, EmptyKey) &&
|
||||
!KeyInfoT::isEqual(P->first, TombstoneKey)) {
|
||||
assert((TmpEnd - TmpBegin) < InlineBuckets &&
|
||||
assert(size_t(TmpEnd - TmpBegin) < InlineBuckets &&
|
||||
"Too many inline buckets!");
|
||||
new (&TmpEnd->first) KeyT(llvm_move(P->first));
|
||||
new (&TmpEnd->second) ValueT(llvm_move(P->second));
|
||||
|
Loading…
Reference in New Issue
Block a user