diff --git a/docs/spec/structs/index.adoc b/docs/spec/structs/index.adoc
index 5526ccf..0866c89 100644
--- a/docs/spec/structs/index.adoc
+++ b/docs/spec/structs/index.adoc
@@ -56,7 +56,7 @@ typedef struct IndexEntry
/**Type of item pointed by this entry */
uint32_t blockType;
/**Type of data contained by the block pointed by this entry */
- uint16_t dataType;
+ uint32_t dataType;
/**Offset in file where item is stored */
uint64_t offset;
} IndexEntry;
diff --git a/include/aaruformat/structs.h b/include/aaruformat/structs.h
index a2f6247..0175b27 100644
--- a/include/aaruformat/structs.h
+++ b/include/aaruformat/structs.h
@@ -100,7 +100,7 @@ typedef struct DdtHeader
/**Identifier, */
uint32_t identifier;
/**Type of data pointed by this DDT */
- uint16_t type;
+ uint32_t type;
/**Compression algorithm used to compress the DDT */
uint16_t compression;
/**Each entry is ((uint8_t offset in file) << shift) + (sector offset in block) */
@@ -134,7 +134,7 @@ typedef struct IndexEntry
/**Type of item pointed by this entry */
uint32_t blockType;
/**Type of data contained by the block pointed by this entry */
- uint16_t dataType;
+ uint32_t dataType;
/**Offset in file where item is stored */
uint64_t offset;
} IndexEntry;
@@ -145,7 +145,7 @@ typedef struct BlockHeader
/**Identifier, */
uint32_t identifier;
/**Type of data contained by this block */
- uint16_t type;
+ uint32_t type;
/**Compression algorithm used to compress the block */
uint16_t compression;
/**Size in uint8_ts of each sector contained in this block */