diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-26 23:23:34 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2019-11-26 23:23:34 (GMT) |
commit | 4c8a2f726a2eb47a937430e28994db8be1b87b00 (patch) | |
tree | 7b6849d8aff9ab9c9fe4b8f6ac40113e69454de3 /src/H5Osdspace.c | |
parent | fc61b7a9f3a38331809ebcb6247482943947cdb8 (diff) | |
download | hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.zip hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.tar.gz hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.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*/ |