提交 39749596 编写于 作者: Y Yanqin Jin 提交者: Facebook Github Bot

Fix a warning (treated as error) caused by type mismatch.

Summary: Closes https://github.com/facebook/rocksdb/pull/4032

Differential Revision: D8573061

Pulled By: riversand963

fbshipit-source-id: 112324dcb35956d6b3ec891073f4f21493933c8b
上级 7103559f
...@@ -2864,7 +2864,7 @@ class NonBatchedOpsStressTest : public StressTest { ...@@ -2864,7 +2864,7 @@ class NonBatchedOpsStressTest : public StressTest {
std::terminate(); std::terminate();
} }
int64_t key = key_base; int64_t key = key_base;
for (int64_t value : values) { for (int32_t value : values) {
shared->Put(column_family, key, value, false /* pending */); shared->Put(column_family, key, value, false /* pending */);
++key; ++key;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册