diff options
author | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2018-07-12 23:25:49 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2018-07-12 23:25:49 (GMT) |
commit | 92bf81a0fbad8e263c1e0d3c5791f49b78046afb (patch) | |
tree | 5e4d43ce6e3bd409a6c5fa51d8510e70230b108a /src/H5Ofill.c | |
parent | d1f8ac331222351a63147ab54271ac9d5b271f0b (diff) | |
download | hdf5-92bf81a0fbad8e263c1e0d3c5791f49b78046afb.zip hdf5-92bf81a0fbad8e263c1e0d3c5791f49b78046afb.tar.gz hdf5-92bf81a0fbad8e263c1e0d3c5791f49b78046afb.tar.bz2 |
Changes based on feedback from pull request.
Diffstat (limited to 'src/H5Ofill.c')
-rw-r--r-- | src/H5Ofill.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/H5Ofill.c b/src/H5Ofill.c index 3ce2e4f..da9829b 100644 --- a/src/H5Ofill.c +++ b/src/H5Ofill.c @@ -19,7 +19,6 @@ */ #include "H5Omodule.h" /* This source code file is part of the H5O module */ -#define H5T_FRIEND /*prevent warning from including H5Tpkg */ #include "H5private.h" /* Generic Functions */ @@ -32,7 +31,6 @@ #include "H5Pprivate.h" /* Property lists */ #include "H5Sprivate.h" /* Dataspaces */ -#include "H5Tpkg.h" /* Datatypes */ static void *H5O_fill_old_decode(H5F_t *f, H5O_t *open_oh, unsigned mesg_flags, unsigned *ioflags, size_t p_size, const uint8_t *p); @@ -345,7 +343,7 @@ H5O_fill_old_decode(H5F_t *f, H5O_t *open_oh, if((dt = H5O_msg_read_oh(f, open_oh, H5O_DTYPE_ID, NULL)) < 0) HGOTO_ERROR(H5E_SYM, H5E_CANTGET, NULL, "can't read DTYPE message") /* Verify size */ - if(fill->size != dt->shared->size) + if(fill->size != H5T_GET_SIZE(dt)) HGOTO_ERROR(H5E_SYM, H5E_CANTGET, NULL, "inconsistent fill value size") } |