shithub: lwext4

Download patch

ref: 2a7a75f8f98d051f8d2b7b78d31649e943329fa6
parent: 8175b57b88479537064eebf2bcefa0756b57385d
author: gkostka <[email protected]>
date: Thu Oct 8 14:55:53 EDT 2015

Fix compile warnings for 16 bit machines

--- a/lwext4/ext4_xattr.c
+++ b/lwext4/ext4_xattr.c
@@ -206,7 +206,7 @@
 	if (in_inode) {
 		struct ext4_xattr_ibody_header *header;
 		struct ext4_xattr_entry *first_entry;
-		uint16_t inode_size =
+		int16_t inode_size =
 		    ext4_get16(&xattr_ref->fs->sb, inode_size);
 		header = EXT4_XATTR_IHDR(xattr_ref->inode_ref->inode);
 		first_entry = EXT4_XATTR_IFIRST(header);