You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kvrocks.apache.org by al...@apache.org on 2024/11/11 12:50:30 UTC
(kvrocks) 02/02: Fix warnings
This is an automated email from the ASF dual-hosted git repository.
aleksraiden pushed a commit to branch aleksraiden-glog-new
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
commit 1d9b540c32cacf8564cd6c501e3586906c1a19d2
Author: Aleks Lozovyuk <al...@gmail.com>
AuthorDate: Mon Nov 11 14:50:19 2024 +0200
Fix warnings
---
src/config/config.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/config/config.cc b/src/config/config.cc
index 08e8d925..779dcbcc 100644
--- a/src/config/config.cc
+++ b/src/config/config.cc
@@ -106,7 +106,7 @@ std::string TrimRocksDbPrefix(std::string s) {
}
Status SetRocksdbCompression(Server *srv, const rocksdb::CompressionType compression,
- const int compression_start_level) {
+ const size_t compression_start_level) {
if (!srv) return Status::OK();
std::string compression_option;
for (auto &option : engine::CompressionOptions) {