Skip to content

Commit 4b0b020

Browse files
committed
Fix `integer overflow in expression' error
1 parent f3170b6 commit 4b0b020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/db_stress.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ DEFINE_int32(set_options_one_in, 0,
223223
DEFINE_int32(set_in_place_one_in, 0,
224224
"With a chance of 1/N, toggle in place support option");
225225

226-
DEFINE_int64(cache_size, 2 * KB * KB * KB,
226+
DEFINE_int64(cache_size, 2LL * KB * KB * KB,
227227
"Number of bytes to use as a cache of uncompressed data.");
228228

229229
DEFINE_uint64(subcompactions, 1,

0 commit comments

Comments
 (0)