summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authordgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529>2011-04-20 22:50:04 +0000
committerdgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529>2011-04-20 22:50:04 +0000
commitccb2cbef3aa60e19da135bba01ac4aba7697661d (patch)
tree40db1b7c2b584d41f7044e025eae65afff08466a /table
parentba6dac0e809b249532a7465f71a00ccda307161d (diff)
downloadleveldb-ccb2cbef3aa60e19da135bba01ac4aba7697661d.tar.gz
fix build on at least linux
git-svn-id: https://leveldb.googlecode.com/svn/trunk@25 62dab493-f737-651d-591e-8d6aee1b9529
Diffstat (limited to 'table')
-rw-r--r--table/block.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/block.cc b/table/block.cc
index 92b2877..c20bb38 100644
--- a/table/block.cc
+++ b/table/block.cc
@@ -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;