diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-26 23:23:34 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:24 (GMT) |
commit | f2028c7568c2ad8ef91bc78cc8dac9b2d8c8eb1d (patch) | |
tree | f63980b1e4a4aed7a0a3cf4c3d7a3f83496c10e1 /src/H5Ofill.c | |
parent | 9a3a13cacb2c519a5c4deab817606a743e9ece0d (diff) | |
download | hdf5-f2028c7568c2ad8ef91bc78cc8dac9b2d8c8eb1d.zip hdf5-f2028c7568c2ad8ef91bc78cc8dac9b2d8c8eb1d.tar.gz hdf5-f2028c7568c2ad8ef91bc78cc8dac9b2d8c8eb1d.tar.bz2 |
Revert "using a different MACRO"
This reverts commit fc61b7a9f3a38331809ebcb6247482943947cdb8.
Diffstat (limited to 'src/H5Ofill.c')
-rw-r--r-- | src/H5Ofill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Ofill.c b/src/H5Ofill.c index 93f2a65..14b12db 100644 --- a/src/H5Ofill.c +++ b/src/H5Ofill.c @@ -408,10 +408,10 @@ H5O_fill_new_encode(H5F_t H5_ATTR_UNUSED *f, uint8_t *p, const void *_fill) if(fill->version < H5O_FILL_VERSION_3) { /* Space allocation time */ - H5_CHECKED_ASSIGN(*p++, uint8_t, fill->alloc_time, int); + ASSIGN_TO_SMALLER_SIZE(*p++, uint8_t, fill->alloc_time, int); /* Fill value writing time */ - H5_CHECKED_ASSIGN(*p++, uint8_t, fill->fill_time, int); + ASSIGN_TO_SMALLER_SIZE(*p++, uint8_t, fill->fill_time, int); /* Whether fill value is defined */ *p++ = (uint8_t)fill->fill_defined; |