1
0
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:
Benjamin Kramer 2012-06-30 10:02:08 +00:00
parent 065c63c4ca
commit 19c2badc83

View File

@ -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));