aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/skiplist_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/leveldb/db/skiplist_test.cc')
-rw-r--r--src/leveldb/db/skiplist_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leveldb/db/skiplist_test.cc b/src/leveldb/db/skiplist_test.cc
index c78f4b4fb1..aee1461e1b 100644
--- a/src/leveldb/db/skiplist_test.cc
+++ b/src/leveldb/db/skiplist_test.cc
@@ -250,7 +250,7 @@ class ConcurrentTest {
// Note that generation 0 is never inserted, so it is ok if
// <*,0,*> is missing.
ASSERT_TRUE((gen(pos) == 0) ||
- (gen(pos) > initial_state.Get(key(pos)))
+ (gen(pos) > static_cast<Key>(initial_state.Get(key(pos))))
) << "key: " << key(pos)
<< "; gen: " << gen(pos)
<< "; initgen: "