Pārlūkot izejas kodu

Fix signed/unsigned mismatch on VC++ builds

main
Bruce Dawson pirms 8 gadiem
vecāks
revīzija
6b18316d01
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      db/skiplist_test.cc

+ 1
- 1
db/skiplist_test.cc Parādīt failu

@ -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: "

Notiek ielāde…
Atcelt
Saglabāt