[RocksDB] [Performance Branch] Trivia build fix

Summary: make release complains signed unsigned comparison.

Test Plan: make release

Reviewers: kailiu

CC: leveldb

Differential Revision: https://reviews.facebook.net/D14661
This commit is contained in:
Haobo Xu 2013-12-13 14:19:18 -08:00
parent b660e2d468
commit 5090316f0d

View File

@ -128,7 +128,7 @@ TEST(CacheTest, UsageTest) {
}
// make sure the cache will be overloaded
for (int i = 1; i < kCapacity; ++i) {
for (uint64_t i = 1; i < kCapacity; ++i) {
auto key = std::to_string(i);
cache->Release(
cache->Insert(key, (void*)value, key.size() + 5, dumbDeleter)