efs.c: Fix incorrect type of local variables 'newsize' and 'oldsize'.

These variable are only ever assigned to/from s64 values, so their type
should be s64, not u64. This fixes a compiler warning about
signed/unsigned comparison.
This commit is contained in:
Erik Larsson 2016-02-08 18:42:53 +01:00
parent 0b378fd177
commit 33cb3087b5

View File

@ -321,8 +321,8 @@ int ntfs_set_efs_info(ntfs_inode *ni, const char *value, size_t size,
int ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na) int ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na)
{ {
u64 newsize; s64 newsize;
u64 oldsize; s64 oldsize;
le16 appended_bytes; le16 appended_bytes;
u16 padding_length; u16 padding_length;
ntfs_inode *ni; ntfs_inode *ni;