From 4b0b0201c9abb7675413ce25e5044b1c9a8853c8 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 15 Sep 2015 14:41:00 +0300 Subject: [PATCH] Fix `integer overflow in expression' error --- 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 a6ad7867b..b6e46c2fa 100644 --- a/tools/db_stress.cc +++ b/tools/db_stress.cc @@ -223,7 +223,7 @@ DEFINE_int32(set_options_one_in, 0, DEFINE_int32(set_in_place_one_in, 0, "With a chance of 1/N, toggle in place support option"); -DEFINE_int64(cache_size, 2 * KB * KB * KB, +DEFINE_int64(cache_size, 2LL * KB * KB * KB, "Number of bytes to use as a cache of uncompressed data."); DEFINE_uint64(subcompactions, 1,