summaryrefslogtreecommitdiffstats
path: root/src/H5Odtype.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r--src/H5Odtype.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c
index a3d99b5..b98e24d 100644
--- a/src/H5Odtype.c
+++ b/src/H5Odtype.c
@@ -228,7 +228,7 @@ H5O_dtype_decode_helper(H5F_t *f, const uint8_t **pp, H5T_t *dt)
HRETURN_ERROR (H5E_RESOURCE, H5E_NOSPACE, FAIL,
"memory allocation failed");
}
- H5F_addr_undef (&(dt->u.compnd.memb[i].type->ent.header));
+ dt->u.compnd.memb[i].type->ent.header = H5F_ADDR_UNDEF;
if (H5O_dtype_decode_helper(f, pp, dt->u.compnd.memb[i].type)<0) {
for (j=0; j<=i; j++) H5MM_xfree(dt->u.compnd.memb[j].name);
H5MM_xfree(dt->u.compnd.memb);
@@ -261,7 +261,7 @@ H5O_dtype_decode_helper(H5F_t *f, const uint8_t **pp, H5T_t *dt)
HRETURN_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL,
"memory allocation failed");
}
- H5F_addr_undef(&(dt->parent->ent.header));
+ dt->parent->ent.header = H5F_ADDR_UNDEF;
if (H5O_dtype_decode_helper(f, pp, dt->parent)<0) {
HRETURN_ERROR(H5E_DATATYPE, H5E_CANTDECODE, FAIL,
"unable to decode parent data type");
@@ -297,7 +297,7 @@ H5O_dtype_decode_helper(H5F_t *f, const uint8_t **pp, H5T_t *dt)
case H5T_VLEN: /* Variable length datatypes... */
/* Decode base type of VL information */
- H5F_addr_undef(&(dt->parent->ent.header));
+ dt->parent->ent.header = H5F_ADDR_UNDEF;
if (H5O_dtype_decode_helper(f, pp, dt->parent)<0) {
HRETURN_ERROR(H5E_DATATYPE, H5E_CANTDECODE, FAIL, "unable to decode VL parent type");
}
@@ -685,7 +685,7 @@ H5O_dtype_decode(H5F_t *f, const uint8_t *p,
HRETURN_ERROR (H5E_RESOURCE, H5E_NOSPACE, NULL,
"memory allocation failed");
}
- H5F_addr_undef (&(dt->ent.header));
+ dt->ent.header = H5F_ADDR_UNDEF;
if (H5O_dtype_decode_helper(f, &p, dt) < 0) {
H5MM_xfree(dt);