sizeof(int*) where sizeof(int) was intended

This commit is contained in:
Nik Bougalis 2014-09-05 16:07:14 -07:00
parent d40c1f742f
commit bfee319fb0

View File

@ -70,7 +70,7 @@ class HashCuckooRep : public MemTableRep {
}
cuckoo_path_ = reinterpret_cast<int*>(
arena_->Allocate(sizeof(int*) * (cuckoo_path_max_depth_ + 1)));
arena_->Allocate(sizeof(int) * (cuckoo_path_max_depth_ + 1)));
is_nearly_full_ = false;
}