summaryrefslogtreecommitdiffstats
path: root/src/H5SMpkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5SMpkg.h')
-rwxr-xr-xsrc/H5SMpkg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5SMpkg.h b/src/H5SMpkg.h
index aab7eb3..13935ab 100755
--- a/src/H5SMpkg.h
+++ b/src/H5SMpkg.h
@@ -45,7 +45,8 @@
#define H5SM_TABLE_SIZEOF_MAGIC 4
#define H5SM_SIZEOF_CHECKSUM 4
-#define H5SM_SOHM_ENTRY_SIZE(f) (4 /* Hash value */ \
+#define H5SM_SOHM_ENTRY_SIZE(f) (1 /* "location" (unused right now) */ \
+ + 4 /* Hash value */ \
+ 4 /* reference count*/ \
+ sizeof(H5O_fheap_id_t)) /* size of heap ID on disk */