diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-05-09 18:18:21 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-05-09 18:18:21 (GMT) |
commit | 7d9c86097afb9a00b8f37503b435091ff5aef07e (patch) | |
tree | b474ad4296036535594f532cf948a20c86ccda98 /src/H5Dseq.c | |
parent | c390d06017bb7700f116b4d7523d586f5f9e6a9a (diff) | |
download | hdf5-7d9c86097afb9a00b8f37503b435091ff5aef07e.zip hdf5-7d9c86097afb9a00b8f37503b435091ff5aef07e.tar.gz hdf5-7d9c86097afb9a00b8f37503b435091ff5aef07e.tar.bz2 |
[svn-r6843] Purpose:
Code cleanup
Description:
Clean up warnings exposed by compiling on O2K. Also, revert some of Bill
and my changes to the H5S_mpi_opt_types_g, etc. and settle them back into their
original location.
Platforms tested:
h5committested.
Diffstat (limited to 'src/H5Dseq.c')
-rw-r--r-- | src/H5Dseq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Dseq.c b/src/H5Dseq.c index 5248b0a..0e29978 100644 --- a/src/H5Dseq.c +++ b/src/H5Dseq.c @@ -193,7 +193,7 @@ H5F_seq_readvv(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout, #ifdef H5_HAVE_PARALLEL H5FD_mpio_xfer_t xfer_mode=H5FD_MPIO_INDEPENDENT; #endif /* H5_HAVE_PARALLEL */ - herr_t ret_value = SUCCEED; /* Return value */ + ssize_t ret_value; /* Return value */ FUNC_ENTER_NOAPI(H5F_seq_readvv, FAIL); @@ -229,7 +229,7 @@ H5F_seq_readvv(H5F_t *f, hid_t dxpl_id, const struct H5O_layout_t *layout, /* Check if we are using the MPIO driver (for the DXPL) */ if(H5FD_MPIO==driver_id) { /* Get the transfer mode */ - xfer_mode=H5P_peek_unsigned(plist, H5D_XFER_IO_XFER_MODE_NAME); + xfer_mode=(H5FD_mpio_xfer_t)H5P_peek_unsigned(plist, H5D_XFER_IO_XFER_MODE_NAME); } /* end if */ } /* end if */ @@ -373,7 +373,7 @@ H5F_seq_writevv(H5F_t *f, hid_t dxpl_id, struct H5O_layout_t *layout, /* Check if we are using the MPIO driver (for the DXPL) */ if(H5FD_MPIO==driver_id) { /* Get the transfer mode */ - xfer_mode=H5P_peek_unsigned(plist, H5D_XFER_IO_XFER_MODE_NAME); + xfer_mode=(H5FD_mpio_xfer_t)H5P_peek_unsigned(plist, H5D_XFER_IO_XFER_MODE_NAME); } /* end if */ } /* end if */ |