summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 66db566..2f52ad8 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -1783,8 +1783,7 @@ H5Pset_family(hid_t plist_id, hsize_t memb_size, hid_t memb_plist_id)
/* Set driver */
plist->driver = H5F_LOW_FAMILY;
- H5F_addr_reset (&(plist->u.fam.memb_size));
- H5F_addr_inc (&(plist->u.fam.memb_size), memb_size);
+ plist->u.fam.memb_size = memb_size;
plist->u.fam.memb_access = H5P_copy (H5P_FILE_ACCESS, memb_plist);
FUNC_LEAVE (SUCCEED);