diff --git a/include/rocksdb/advanced_options.h b/include/rocksdb/advanced_options.h index 7804ec46b..1c4f09b76 100644 --- a/include/rocksdb/advanced_options.h +++ b/include/rocksdb/advanced_options.h @@ -173,9 +173,10 @@ struct CompressionOptions { parallel_threads(1), enabled(false), max_dict_buffer_bytes(0) {} - CompressionOptions(int wbits, int _lev, int _strategy, int _max_dict_bytes, - int _zstd_max_train_bytes, int _parallel_threads, - bool _enabled, uint64_t _max_dict_buffer_bytes) + CompressionOptions(int wbits, int _lev, int _strategy, + uint32_t _max_dict_bytes, uint32_t _zstd_max_train_bytes, + uint32_t _parallel_threads, bool _enabled, + uint64_t _max_dict_buffer_bytes) : window_bits(wbits), level(_lev), strategy(_strategy),