[lib] Fix data size mismatch.

This commit is contained in:
2025-08-01 02:48:16 +01:00
parent af6e384678
commit 2811f41734
5 changed files with 17 additions and 17 deletions

View File

@@ -17,7 +17,7 @@ typedef struct BlockHeader
/**Identifier, <see cref="BlockType.DataBlock" /> */
uint32_t identifier;
/**Type of data contained by this block */
uint32_t type;
uint16_t type;
/**Compression algorithm used to compress the block */
uint16_t compression;
/**Size in uint8_ts of each sector contained in this block */

View File

@@ -16,7 +16,7 @@ typedef struct DdtHeader
/**Identifier, <see cref="BlockType.DeDuplicationTable" /> */
uint32_t identifier;
/**Type of data pointed by this DDT */
uint32_t type;
uint16_t type;
/**Compression algorithm used to compress the DDT */
uint16_t compression;
/**Each entry is ((uint8_t offset in file) &lt;&lt; shift) + (sector offset in block) */