Skip to content

Commit 7306ef8

Browse files
committed
Merge pull request bitcoin#348 from randomascii/master
Fix signed/unsigned mismatch on VC++ builds
2 parents adbe3eb + 6b18316 commit 7306ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/skiplist_test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class ConcurrentTest {
250250
// Note that generation 0 is never inserted, so it is ok if
251251
// <*,0,*> is missing.
252252
ASSERT_TRUE((gen(pos) == 0) ||
253-
(gen(pos) > initial_state.Get(key(pos)))
253+
(gen(pos) > static_cast<Key>(initial_state.Get(key(pos))))
254254
) << "key: " << key(pos)
255255
<< "; gen: " << gen(pos)
256256
<< "; initgen: "

0 commit comments

Comments
 (0)