diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-25 21:17:55 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:23 (GMT) |
commit | 9a3a13cacb2c519a5c4deab817606a743e9ece0d (patch) | |
tree | 301966796df9631e883d1fe728f5e168ca96a353 /src/H5Osdspace.c | |
parent | bb53a566e8a45490b3179290774c3f1450d7d8dd (diff) | |
download | hdf5-9a3a13cacb2c519a5c4deab817606a743e9ece0d.zip hdf5-9a3a13cacb2c519a5c4deab817606a743e9ece0d.tar.gz hdf5-9a3a13cacb2c519a5c4deab817606a743e9ece0d.tar.bz2 |
using a different MACRO
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 7b6c444..b7a95f5 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) { - ASSIGN_TO_SMALLER_SIZE(*p++, uint8_t, sdim->type, int); + H5_CHECKED_ASSIGN(*p++, uint8_t, sdim->type, int); } else { *p++ = 0; /*reserved*/ |