diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2019-03-20 19:07:40 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2019-03-20 19:07:40 (GMT) |
commit | 222346f3732ba3bfb007da410e1b808be129aaaf (patch) | |
tree | 061d33723552465bbb3b672bfff10e4fe6bc2b96 /src/H5HFhdr.c | |
parent | 7add52ff4f2443357648d53d52add274d1b18b5f (diff) | |
parent | 604b67df19a164824b74fba0aa5e489b5a64d1ae (diff) | |
download | hdf5-222346f3732ba3bfb007da410e1b808be129aaaf.zip hdf5-222346f3732ba3bfb007da410e1b808be129aaaf.tar.gz hdf5-222346f3732ba3bfb007da410e1b808be129aaaf.tar.bz2 |
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_fixbug into develop
Diffstat (limited to 'src/H5HFhdr.c')
-rw-r--r-- | src/H5HFhdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5HFhdr.c b/src/H5HFhdr.c index b014017..5750a03 100644 --- a/src/H5HFhdr.c +++ b/src/H5HFhdr.c @@ -36,6 +36,7 @@ #include "H5Eprivate.h" /* Error handling */ #include "H5HFpkg.h" /* Fractal heaps */ #include "H5MFprivate.h" /* File memory management */ +#include "H5MMprivate.h" /* Memory management */ #include "H5VMprivate.h" /* Vectors and arrays */ /****************/ @@ -387,7 +388,7 @@ H5HF_hdr_create(H5F_t *f, const H5HF_create_t *cparam) /* Set the creation parameters for the heap */ hdr->max_man_size = cparam->max_man_size; hdr->checksum_dblocks = cparam->checksum_dblocks; - HDmemcpy(&(hdr->man_dtable.cparam), &(cparam->managed), sizeof(H5HF_dtable_cparam_t)); + H5MM_memcpy(&(hdr->man_dtable.cparam), &(cparam->managed), sizeof(H5HF_dtable_cparam_t)); /* Set root table address to indicate that the heap is empty currently */ hdr->man_dtable.table_addr = HADDR_UNDEF; |