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/H5Osdspace.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/H5Osdspace.c')
-rw-r--r-- | src/H5Osdspace.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5Osdspace.c b/src/H5Osdspace.c index b7a95f5..7b6c444 100644 --- a/src/H5Osdspace.c +++ b/src/H5Osdspace.c @@ -15,13 +15,13 @@ #define H5S_FRIEND /*prevent warning from including H5Spkg.h */ #include "H5private.h" /* Generic Functions */ -#include "H5Dprivate.h" /* Datasets */ -#include "H5Eprivate.h" /* Error handling */ -#include "H5FLprivate.h" /* Free lists */ -#include "H5Gprivate.h" /* Groups */ +#include "H5Dprivate.h" /* Datasets */ +#include "H5Eprivate.h" /* Error handling */ +#include "H5FLprivate.h" /* Free lists */ +#include "H5Gprivate.h" /* Groups */ #include "H5MMprivate.h" /* Memory management */ -#include "H5Opkg.h" /* Object headers */ -#include "H5Spkg.h" /* Dataspaces */ +#include "H5Opkg.h" /* Object headers */ +#include "H5Spkg.h" /* Dataspaces */ /* PRIVATE PROTOTYPES */ @@ -257,7 +257,7 @@ H5O_sdspace_encode(H5F_t *f, uint8_t *p, const void *_mesg) /* Dataspace type */ if(sdim->version > H5O_SDSPACE_VERSION_1) { - H5_CHECKED_ASSIGN(*p++, uint8_t, sdim->type, int); + ASSIGN_TO_SMALLER_SIZE(*p++, uint8_t, sdim->type, int); } else { *p++ = 0; /*reserved*/ |