From 16f1aa7b2d0b5f44397810faeed9fae278d89bc6 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Wed, 30 Apr 2014 14:38:01 -0400 Subject: [PATCH] Fix signed/unsigned compare --- db/db_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db_impl.cc b/db/db_impl.cc index 12adea0b7..25d8a072b 100644 --- a/db/db_impl.cc +++ b/db/db_impl.cc @@ -3644,7 +3644,7 @@ Status DBImpl::Write(const WriteOptions& options, WriteBatch* my_batch) { RecordTick(options_.statistics.get(), WRITE_DONE_BY_SELF, 1); } - int64_t flush_column_family_if_log_file = 0; + uint64_t flush_column_family_if_log_file = 0; uint64_t max_total_wal_size = (options_.max_total_wal_size == 0) ? 2 * max_total_in_memory_state_ : options_.max_total_wal_size;