Fixing serialization bug introduced during earlier merge.

This commit is contained in:
Robin Sommer 2013-07-25 11:28:30 -07:00
parent b97e045c9a
commit c11bf3d922
5 changed files with 23 additions and 23 deletions

View file

@ -568,11 +568,11 @@ bool BitVector::DoUnserialize(UnserialInfo* info)
bits[i] = static_cast<block_type>(block);
}
uint64 num_bits;
if ( ! UNSERIALIZE(&num_bits) )
uint64 n;
if ( ! UNSERIALIZE(&n) )
return false;
num_bits = static_cast<size_type>(num_bits);
num_bits = static_cast<size_type>(n);
return true;
}

View file

@ -183,11 +183,11 @@ bool CounterVector::DoUnserialize(UnserialInfo* info)
if ( ! bits )
return false;
uint64 width;
if ( ! UNSERIALIZE(&width) )
uint64 w;
if ( ! UNSERIALIZE(&w) )
return false;
width = static_cast<size_t>(width);
width = static_cast<size_t>(w);
return true;
}