summaryrefslogtreecommitdiffstats
path: root/src/H5Olink.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-25 21:17:55 (GMT)
committerkmu <kmu@hdfgroup.org>2019-11-25 21:17:55 (GMT)
commitfc61b7a9f3a38331809ebcb6247482943947cdb8 (patch)
treeba9de335ebbd634656bf414d74eea506a1522227 /src/H5Olink.c
parentd242a900f420b040e364f6c0976c01593e955db3 (diff)
downloadhdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.zip
hdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.tar.gz
hdf5-fc61b7a9f3a38331809ebcb6247482943947cdb8.tar.bz2
using a different MACRO
Diffstat (limited to 'src/H5Olink.c')
-rw-r--r--src/H5Olink.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5Olink.c b/src/H5Olink.c
index 3453565..6076556 100644
--- a/src/H5Olink.c
+++ b/src/H5Olink.c
@@ -24,17 +24,17 @@
#define H5G_FRIEND /*suppress error about including H5Gpkg */
#define H5L_FRIEND /*suppress error about including H5Lpkg */
-#include "H5Omodule.h" /* This source code file is part of the H5O module */
+#include "H5Omodule.h" /* This source code file is part of the H5O module */
-#include "H5private.h" /* Generic Functions */
-#include "H5Eprivate.h" /* Error handling */
+#include "H5private.h" /* Generic Functions */
+#include "H5Eprivate.h" /* Error handling */
#include "H5FLprivate.h" /* Free lists */
-#include "H5Gpkg.h" /* Groups */
-#include "H5Iprivate.h" /* IDs */
-#include "H5Lpkg.h" /* Links */
-#include "H5MMprivate.h" /* Memory management */
-#include "H5Opkg.h" /* Object headers */
+#include "H5Gpkg.h" /* Groups */
+#include "H5Iprivate.h" /* IDs */
+#include "H5Lpkg.h" /* Links */
+#include "H5MMprivate.h" /* Memory management */
+#include "H5Opkg.h" /* Object headers */
/* PRIVATE PROTOTYPES */
@@ -316,7 +316,7 @@ H5O_link_encode(H5F_t *f, hbool_t H5_ATTR_UNUSED disable_shared, uint8_t *p, con
/* Store the type of a non-default link */
if(link_flags & H5O_LINK_STORE_LINK_TYPE)
- ASSIGN_TO_SMALLER_SIZE(*p++, uint8_t, lnk->type, int);
+ H5_CHECKED_ASSIGN(*p++, uint8_t, lnk->type, int);
/* Store the link creation order in the file, if its valid */
if(lnk->corder_valid)