diff options
author | Paulo Alcantara <pcacjr@gmail.com> | 2011-07-29 04:45:53 +0000 |
---|---|---|
committer | Paulo Alcantara <pcacjr@gmail.com> | 2011-09-11 04:09:58 +0000 |
commit | 06bdc3cfccb6fccbbfda4b216f57eab314288b27 (patch) | |
tree | a39f022ab453ed7fa66c6be8a7399d740b373040 | |
parent | 5bcdd9254ec5c06d45bd5c56401115a067a5678b (diff) | |
download | syslinux-06bdc3cfccb6fccbbfda4b216f57eab314288b27.tar.gz syslinux-06bdc3cfccb6fccbbfda4b216f57eab314288b27.tar.xz syslinux-06bdc3cfccb6fccbbfda4b216f57eab314288b27.zip |
ntfs: mapping_chunk's length field must not be an uint8_t type
Also change the other length field accordingly.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
-rw-r--r-- | core/fs/ntfs/ntfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fs/ntfs/ntfs.h b/core/fs/ntfs/ntfs.h index 1da93b28..715e4db0 100644 --- a/core/fs/ntfs/ntfs.h +++ b/core/fs/ntfs/ntfs.h @@ -76,7 +76,7 @@ struct ntfs_inode { uint32_t offset; /* Data offset */ } resident; struct { /* Used only if non_resident is set */ - uint8_t len; + uint64_t len; int64_t lcn; /* Logical Cluster Number offset */ } non_resident; } data; @@ -105,7 +105,7 @@ enum { }; struct mapping_chunk { - uint8_t len; + uint64_t len; int64_t lcn; /* Logical Cluster Number */ uint32_t flags; /* Specific flags of this chunk */ }; |