summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 3c1f21a..fa7da12 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -347,7 +347,7 @@ H5G_decode (hdf5_file_t *f, uint8 **pp, H5G_entry_t *ent)
abort();
}
- *pp = p_ret + 2*H5F_SIZEOF_OFFSET(f) + 4 + 24;
+ *pp = p_ret + H5G_SIZEOF_ENTRY(f);
return 0;
}
@@ -433,7 +433,7 @@ H5G_encode (hdf5_file_t *f, uint8 **pp, H5G_entry_t *ent)
abort();
}
- *pp = p_ret + 2*H5F_SIZEOF_OFFSET(f) + 4 + 24;
+ *pp = p_ret + H5G_SIZEOF_ENTRY(f);
return 0;
}