summaryrefslogtreecommitdiffstats
path: root/src/H5Distore.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-04-19 23:11:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-04-19 23:11:06 (GMT)
commit7438609ee2a445521b461faa122554b253283f51 (patch)
tree8fd14659340dc57719e85ddc5a92edbca64bcb66 /src/H5Distore.c
parentcfea54b1e255966549829597c18f470f7156be1d (diff)
downloadhdf5-7438609ee2a445521b461faa122554b253283f51.zip
hdf5-7438609ee2a445521b461faa122554b253283f51.tar.gz
hdf5-7438609ee2a445521b461faa122554b253283f51.tar.bz2
[svn-r2162] Various small fixes to address SGI compiler warnings.
Diffstat (limited to 'src/H5Distore.c')
-rw-r--r--src/H5Distore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 8339e30..cd9acac 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -1502,7 +1502,7 @@ H5F_istore_lock(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout,
{
H5F_xfer_t *dxpl;
- dxpl = (H5P_DEFAULT==dxpl_id) ? &H5F_xfer_dflt : H5I_object(dxpl_id);
+ dxpl = (H5P_DEFAULT==dxpl_id) ? &H5F_xfer_dflt : (H5F_xfer_t *)H5I_object(dxpl_id);
ent->split_ratios[0] = dxpl->split_ratios[0];
ent->split_ratios[1] = dxpl->split_ratios[1];
ent->split_ratios[2] = dxpl->split_ratios[2];
@@ -1644,7 +1644,7 @@ H5F_istore_unlock(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout,
x.chunk = chunk;
{
H5F_xfer_t *dxpl;
- dxpl = (H5P_DEFAULT==dxpl_id) ? &H5F_xfer_dflt : H5I_object(dxpl_id);
+ dxpl = (H5P_DEFAULT==dxpl_id) ? &H5F_xfer_dflt : (H5F_xfer_t *)H5I_object(dxpl_id);
x.split_ratios[0] = dxpl->split_ratios[0];
x.split_ratios[1] = dxpl->split_ratios[1];
x.split_ratios[2] = dxpl->split_ratios[2];