build shared libraries; updated version to 1.3; add Status accessors

This commit is contained in:
Sanjay Ghemawat
2012-03-30 13:15:49 -07:00
parent a1ad4d1995
commit bc1ee4d25e
5 changed files with 53 additions and 14 deletions

View File

@@ -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().