From 397495964b73f8fb90e9a4e1210d27ed429ce381 Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Thu, 21 Jun 2018 11:09:09 -0700 Subject: [PATCH] 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 --- tools/db_stress.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/db_stress.cc b/tools/db_stress.cc index 15cbe0afe..5c1ebe624 100644 --- a/tools/db_stress.cc +++ b/tools/db_stress.cc @@ -2864,7 +2864,7 @@ class NonBatchedOpsStressTest : public StressTest { std::terminate(); } int64_t key = key_base; - for (int64_t value : values) { + for (int32_t value : values) { shared->Put(column_family, key, value, false /* pending */); ++key; }