summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorSanjay Ghemawat <sanjay@google.com>2012-03-30 13:15:49 -0700
committerSanjay Ghemawat <sanjay@google.com>2012-03-30 13:15:49 -0700
commitbc1ee4d25e09b04e074db330a41f54ef4af0e31b (patch)
tree6581d267f27795ecd748060b493af4eb472d5c77 /db
parenta1ad4d1995dc8efeb0d3d7a40b8bb63c9b7c8259 (diff)
downloadleveldb-bc1ee4d25e09b04e074db330a41f54ef4af0e31b.tar.gz
build shared libraries; updated version to 1.3; add Status accessorsv1.3
Diffstat (limited to 'db')
-rw-r--r--db/skiplist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/skiplist.h b/db/skiplist.h
index 0481575..af85be6 100644
--- a/db/skiplist.h
+++ b/db/skiplist.h
@@ -105,7 +105,8 @@ class SkipList {
port::AtomicPointer max_height_; // Height of the entire list
inline int GetMaxHeight() const {
- return reinterpret_cast<intptr_t>(max_height_.NoBarrier_Load());
+ return static_cast<int>(
+ reinterpret_cast<intptr_t>(max_height_.NoBarrier_Load()));
}
// Read/written only by Insert().