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/H5SMcache.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/H5SMcache.c')
-rw-r--r-- | src/H5SMcache.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/H5SMcache.c b/src/H5SMcache.c index 448e128..40692cd 100644 --- a/src/H5SMcache.c +++ b/src/H5SMcache.c @@ -32,14 +32,13 @@ /***********/ /* Headers */ /***********/ -#include "H5private.h" /* Generic Functions */ -#include "H5Eprivate.h" /* Error handling */ -#include "H5Fprivate.h" /* File access */ -#include "H5FLprivate.h" /* Free Lists */ -#include "H5MFprivate.h" /* File memory management */ -#include "H5MMprivate.h" /* Memory management */ -#include "H5SMpkg.h" /* Shared object header messages */ -#include "H5WBprivate.h" /* Wrapped Buffers */ +#include "H5Eprivate.h" /* Error handling */ +#include "H5Fprivate.h" /* File access */ +#include "H5FLprivate.h" /* Free Lists */ +#include "H5MFprivate.h" /* File memory management */ +#include "H5MMprivate.h" /* Memory management */ +#include "H5SMpkg.h" /* Shared object header messages */ +#include "H5WBprivate.h" /* Wrapped Buffers */ /****************/ @@ -398,7 +397,7 @@ H5SM__cache_table_serialize(const H5F_t *f, void *_image, size_t len, *image++ = H5SM_LIST_VERSION; /* Is message index a list or a B-tree? */ - H5_CHECKED_ASSIGN(*image++, uint8_t, table->indexes[u].index_type, int); + ASSIGN_TO_SMALLER_SIZE(*image++, uint8_t, table->indexes[u].index_type, int); /* Type of messages in the index */ UINT16ENCODE(image, table->indexes[u].mesg_types); |