shithub: lwext4

Download patch

ref: 6665a61fa4be7816b22cd005a7cfb720acce8e15
parent: 81637302cb63cafb75e1390a0e9bdd0ebaee5677
author: Kaho Ng <ngkaho1234@gmail.com>
date: Mon May 16 19:38:07 EDT 2016

ext4_xattr: fix missing a type conversion from int32_t to size_t

--- a/src/ext4_xattr.c
+++ b/src/ext4_xattr.c
@@ -539,7 +539,7 @@
 	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;