Sfoglia il codice sorgente

fix build on at least linux

git-svn-id: https://leveldb.googlecode.com/svn/trunk@25 62dab493-f737-651d-591e-8d6aee1b9529
naive_version
dgrogan@chromium.org 13 anni fa
parent
commit
ccb2cbef3a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      table/block.cc

+ 1
- 1
table/block.cc Vedi File

@ -62,7 +62,7 @@ static inline const char* DecodeEntry(const char* p, const char* limit,
if ((p = GetVarint32Ptr(p, limit, value_length)) == NULL) return NULL;
}
if (static_cast<uint32>(limit - p) < (*non_shared + *value_length)) {
if (static_cast<uint32_t>(limit - p) < (*non_shared + *value_length)) {
return NULL;
}
return p;

Caricamento…
Annulla
Salva