From 6b18316d011e495b42ca84813936c994cd90e88d Mon Sep 17 00:00:00 2001 From: Bruce Dawson Date: Fri, 19 Feb 2016 13:59:19 -0800 Subject: [PATCH] Fix signed/unsigned mismatch on VC++ builds --- db/skiplist_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/skiplist_test.cc b/db/skiplist_test.cc index c78f4b4..aee1461 100644 --- a/db/skiplist_test.cc +++ b/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(initial_state.Get(key(pos)))) ) << "key: " << key(pos) << "; gen: " << gen(pos) << "; initgen: "