Skip to content

Commit e537a84

Browse files
committed
[Java] Fixed a compile error caused in some Java version.
1 parent 3e0b93b commit e537a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/org/rocksdb/benchmark/DbBenchmark.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ private enum Flag {
11201120
block_size(defaultOptions_.blockSize(),
11211121
"Number of bytes in a block.") {
11221122
@Override public Object parseValue(String value) {
1123-
return Integer.parseInt(value);
1123+
return Long.parseLong(value);
11241124
}
11251125
},
11261126
compressed_cache_size(-1,

0 commit comments

Comments
 (0)