summaryrefslogtreecommitdiffstats
path: root/src/H5Opkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Opkg.h')
-rw-r--r--src/H5Opkg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Opkg.h b/src/H5Opkg.h
index 4886153..2b52b79 100644
--- a/src/H5Opkg.h
+++ b/src/H5Opkg.h
@@ -107,7 +107,8 @@
3) /*reserved */ \
: \
(2 + /*message type */ \
- 2) /*sizeof message data */ \
+ 2 + /*sizeof message data */ \
+ 1) /*flags */ \
)
#define H5O_SIZEOF_MSGHDR_OH(O) \
H5O_SIZEOF_MSGHDR_VERS((O)->version)
@@ -174,6 +175,7 @@ typedef struct H5O_chunk_t {
hbool_t dirty; /*dirty flag */
haddr_t addr; /*chunk file address */
size_t size; /*chunk size */
+ size_t gap; /*space at end of chunk too small for null message */
uint8_t *image; /*image of file */
} H5O_chunk_t;