diff options
| author | Kaho Ng <ngkaho1234@gmail.com> | 2016-05-16 23:38:07 +0800 |
|---|---|---|
| committer | Kaho Ng <ngkaho1234@gmail.com> | 2016-05-16 23:39:31 +0800 |
| commit | 6665a61fa4be7816b22cd005a7cfb720acce8e15 (patch) | |
| tree | 684dda5e599bc325178249ef653a8385af5d3825 /src | |
| parent | 81637302cb63cafb75e1390a0e9bdd0ebaee5677 (diff) | |
ext4_xattr: fix missing a type conversion from int32_t to size_t
Diffstat (limited to 'src')
| -rw-r--r-- | src/ext4_xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext4_xattr.c b/src/ext4_xattr.c index f868631..bab5a19 100644 --- a/src/ext4_xattr.c +++ b/src/ext4_xattr.c @@ -539,7 +539,7 @@ static int ext4_xattr_resize_item(struct ext4_xattr_ref *xattr_ref, int ret = EOK; bool to_inode = false, to_block = false; size_t old_data_size = item->data_size; - int32_t orig_room_size = item->in_inode ? + size_t orig_room_size = item->in_inode ? xattr_ref->inode_size_rem : xattr_ref->block_size_rem; |
