diff options
| author | root <ngkaho1234@gmail.com> | 2015-10-05 22:56:08 +0000 |
|---|---|---|
| committer | root <ngkaho1234@gmail.com> | 2015-10-05 22:56:08 +0000 |
| commit | 6de80f736dbaff57b01154597dd4776b031ec347 (patch) | |
| tree | 0ad8830e497115f23bd75441bd9a6e25be77d653 | |
| parent | 6c2c498a33955b14bc082fd896a3caa57b004115 (diff) | |
Fix signed/unsigned cmp at ext4_xattr.c:245
| -rw-r--r-- | lwext4/ext4_xattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lwext4/ext4_xattr.c b/lwext4/ext4_xattr.c index b50bab1..a9e6cce 100644 --- a/lwext4/ext4_xattr.c +++ b/lwext4/ext4_xattr.c @@ -237,8 +237,8 @@ static void *ext4_xattr_entry_data(struct ext4_xattr_ref *xattr_ref, ret = NULL; } else { - uint32_t block_size = - ext4_sb_get_block_size(&xattr_ref->fs->sb); + int32_t block_size = + ext4_sb_get_block_size(&xattr_ref->fs->sb); ret = (void *)((char *)xattr_ref->block.data + to_le16(entry->e_value_offs)); if ((char *)ret + EXT4_XATTR_SIZE(to_le32(entry->e_value_size)) |
