summaryrefslogtreecommitdiffstats
path: root/src/H5HFcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5HFcache.c')
-rw-r--r--src/H5HFcache.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5HFcache.c b/src/H5HFcache.c
index 4915533..e174260 100644
--- a/src/H5HFcache.c
+++ b/src/H5HFcache.c
@@ -309,6 +309,9 @@ HDfprintf(stderr, "%s: Load heap header, addr = %a\n", FUNC, addr);
if(metadata_chksum != 0)
HGOTO_ERROR(H5E_HEAP, H5E_CANTLOAD, NULL, "incorrect metadata checksum for fractal heap header")
+ /* Heap ID length */
+ UINT16DECODE(p, hdr->id_len);
+
/* Heap status flags */
/* (bit 0: "huge" object IDs have wrapped) */
heap_flags = *p++;
@@ -419,6 +422,9 @@ HDfprintf(stderr, "%s: Flushing heap header, addr = %a, destroy = %u\n", FUNC, a
HDmemset(p, 0, (size_t)4);
p += 4;
+ /* Heap ID length */
+ UINT16ENCODE(p, hdr->id_len);
+
/* Heap status flags */
/* (bit 0: "huge" object IDs have wrapped) */
heap_flags = 0;