Skip to content

Commit

Permalink
Merge pull request google#348 from randomascii/master
Browse files Browse the repository at this point in the history
Fix signed/unsigned mismatch on VC++ builds
  • Loading branch information
cmumford committed Feb 24, 2016
2 parents adbe3eb + 6b18316 commit 7306ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/skiplist_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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: "
Expand Down

0 comments on commit 7306ef8

Please sign in to comment.