mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
[lib] Fix data size mishap.
This commit is contained in:
@@ -56,7 +56,7 @@ typedef struct IndexEntry
|
|||||||
/**Type of item pointed by this entry */
|
/**Type of item pointed by this entry */
|
||||||
uint32_t blockType;
|
uint32_t blockType;
|
||||||
/**Type of data contained by the block pointed by this entry */
|
/**Type of data contained by the block pointed by this entry */
|
||||||
uint32_t dataType;
|
uint16_t dataType;
|
||||||
/**Offset in file where item is stored */
|
/**Offset in file where item is stored */
|
||||||
uint64_t offset;
|
uint64_t offset;
|
||||||
} IndexEntry;
|
} IndexEntry;
|
||||||
@@ -75,8 +75,8 @@ typedef struct IndexEntry
|
|||||||
|blockType
|
|blockType
|
||||||
|The type of block this entry points to.
|
|The type of block this entry points to.
|
||||||
|
|
||||||
|uint32_t
|
|uint16_t
|
||||||
|4 bytes
|
|2 bytes
|
||||||
|dataType
|
|dataType
|
||||||
|The type of data the block pointed by this entry contains.
|
|The type of data the block pointed by this entry contains.
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ typedef struct IndexEntry
|
|||||||
/**Type of item pointed by this entry */
|
/**Type of item pointed by this entry */
|
||||||
uint32_t blockType;
|
uint32_t blockType;
|
||||||
/**Type of data contained by the block pointed by this entry */
|
/**Type of data contained by the block pointed by this entry */
|
||||||
uint32_t dataType;
|
uint16_t dataType;
|
||||||
/**Offset in file where item is stored */
|
/**Offset in file where item is stored */
|
||||||
uint64_t offset;
|
uint64_t offset;
|
||||||
} IndexEntry;
|
} IndexEntry;
|
||||||
@@ -74,7 +74,7 @@ typedef struct IndexEntry
|
|||||||
|The type of block this entry points to.
|
|The type of block this entry points to.
|
||||||
|
|
||||||
|uint32_t
|
|uint32_t
|
||||||
|4 bytes
|
|2 bytes
|
||||||
|dataType
|
|dataType
|
||||||
|The type of data the block pointed by this entry contains.
|
|The type of data the block pointed by this entry contains.
|
||||||
|
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ typedef struct IndexEntry
|
|||||||
/**Type of item pointed by this entry */
|
/**Type of item pointed by this entry */
|
||||||
uint32_t blockType;
|
uint32_t blockType;
|
||||||
/**Type of data contained by the block pointed by this entry */
|
/**Type of data contained by the block pointed by this entry */
|
||||||
uint32_t dataType;
|
uint16_t dataType;
|
||||||
/**Offset in file where item is stored */
|
/**Offset in file where item is stored */
|
||||||
uint64_t offset;
|
uint64_t offset;
|
||||||
} IndexEntry;
|
} IndexEntry;
|
||||||
|
|||||||
Reference in New Issue
Block a user