[syslinux:master] ntfs: mapping_chunk' s length field must not be an uint8_t type

syslinux-bot for Paulo Alcantara pcacjr at gmail.com
Sat Dec 17 21:19:26 PST 2011


Commit-ID:  06bdc3cfccb6fccbbfda4b216f57eab314288b27
Gitweb:     http://www.syslinux.org/commit/06bdc3cfccb6fccbbfda4b216f57eab314288b27
Author:     Paulo Alcantara <pcacjr at gmail.com>
AuthorDate: Fri, 29 Jul 2011 04:45:53 +0000
Committer:  Paulo Alcantara <pcacjr at gmail.com>
CommitDate: Sun, 11 Sep 2011 04:09:58 +0000

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 at gmail.com>

---
 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 1da93b2..715e4db 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 */
 };


More information about the Syslinux-commits mailing list