CID 10629: use of sizeof(this) instead of sizeof(*this).

This commit is contained in:
Jérôme Duval
2012-01-21 16:27:03 +01:00
parent cf91014c9f
commit 403e134862
@@ -256,7 +256,7 @@ struct btrfs_dir_entry {
uint16 NameLength() const { return B_LENDIAN_TO_HOST_INT16(name_length); }
ino_t InodeID() const { return location.ObjectID(); }
uint16 Length() const
{ return sizeof(this) + NameLength() + DataLength(); }
{ return sizeof(*this) + NameLength() + DataLength(); }
} _PACKED;
struct btrfs_extent_data {