aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/util/testutil.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/leveldb/util/testutil.cc')
-rw-r--r--src/leveldb/util/testutil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leveldb/util/testutil.cc b/src/leveldb/util/testutil.cc
index 538d09516d..bee56bf75f 100644
--- a/src/leveldb/util/testutil.cc
+++ b/src/leveldb/util/testutil.cc
@@ -32,7 +32,7 @@ std::string RandomKey(Random* rnd, int len) {
extern Slice CompressibleString(Random* rnd, double compressed_fraction,
- int len, std::string* dst) {
+ size_t len, std::string* dst) {
int raw = static_cast<int>(len * compressed_fraction);
if (raw < 1) raw = 1;
std::string raw_data;