summaryrefslogtreecommitdiffstats
path: root/src/H5SMmessage.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-26 23:23:34 (GMT)
committerkmu <kmu@hdfgroup.org>2019-11-26 23:23:34 (GMT)
commit4c8a2f726a2eb47a937430e28994db8be1b87b00 (patch)
tree7b6849d8aff9ab9c9fe4b8f6ac40113e69454de3 /src/H5SMmessage.c
parentfc61b7a9f3a38331809ebcb6247482943947cdb8 (diff)
downloadhdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.zip
hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.tar.gz
hdf5-4c8a2f726a2eb47a937430e28994db8be1b87b00.tar.bz2
Revert "using a different MACRO"
This reverts commit fc61b7a9f3a38331809ebcb6247482943947cdb8.
Diffstat (limited to 'src/H5SMmessage.c')
-rw-r--r--src/H5SMmessage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5SMmessage.c b/src/H5SMmessage.c
index 9e1eee2..2a04423 100644
--- a/src/H5SMmessage.c
+++ b/src/H5SMmessage.c
@@ -22,9 +22,9 @@
/***********/
/* Headers */
/***********/
-#include "H5private.h" /* Generic Functions */
-#include "H5Eprivate.h" /* Error handling */
-#include "H5MMprivate.h" /* Memory management */
+#include "H5private.h" /* Generic Functions */
+#include "H5Eprivate.h" /* Error handling */
+#include "H5MMprivate.h" /* Memory management */
#include "H5Opkg.h" /* Object Headers */
#include "H5SMpkg.h" /* Shared object header messages */
@@ -298,7 +298,7 @@ H5SM__message_encode(uint8_t *raw, const void *_nrecord, void *_ctx)
/* Sanity check */
HDassert(ctx);
- H5_CHECKED_ASSIGN(*raw++, uint8_t, message->location, int);
+ ASSIGN_TO_SMALLER_SIZE(*raw++, uint8_t, message->location, int);
UINT32ENCODE(raw, message->hash);
if(message->location == H5SM_IN_HEAP) {