Skip to content

Commit

Permalink
sizeof(int*) where sizeof(int) was intended
Browse files Browse the repository at this point in the history
  • Loading branch information
nbougalis committed Sep 6, 2014
1 parent d40c1f7 commit bfee319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/hash_cuckoo_rep.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit bfee319

Please sign in to comment.