summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5D.c2
-rw-r--r--src/H5T.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 5c366ba..63eac24 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -2719,7 +2719,7 @@ H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
}
/* Call H5Diterate with args, etc. */
- ret_value=H5Diterate(buf,type_id,space_id,H5T_vlen_reclaim,xfer_parms);
+ ret_value=H5Diterate(buf,type_id,space_id,H5T_vlen_reclaim,(void *)xfer_parms);
FUNC_LEAVE(ret_value);
} /* end H5Dvlen_reclaim() */
diff --git a/src/H5T.c b/src/H5T.c
index e3e768c..cd32e6f 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -4808,7 +4808,7 @@ H5T_copy(const H5T_t *old_dt, H5T_copy_t method)
}
/* Sort the fields based on offsets */
- H5T_sort_value(old_dt,NULL);
+ H5T_sort_value((H5T_t *)old_dt,NULL);
HDmemcpy(new_dt->u.compnd.memb, old_dt->u.compnd.memb,
new_dt->u.compnd.nmembs * sizeof(H5T_cmemb_t));