summaryrefslogtreecommitdiffstats
path: root/src/H5FDmpio.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-05-09 18:18:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-05-09 18:18:21 (GMT)
commit7d9c86097afb9a00b8f37503b435091ff5aef07e (patch)
treeb474ad4296036535594f532cf948a20c86ccda98 /src/H5FDmpio.c
parentc390d06017bb7700f116b4d7523d586f5f9e6a9a (diff)
downloadhdf5-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/H5FDmpio.c')
-rw-r--r--src/H5FDmpio.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/H5FDmpio.c b/src/H5FDmpio.c
index 32f6a1c..59e2c83 100644
--- a/src/H5FDmpio.c
+++ b/src/H5FDmpio.c
@@ -1065,10 +1065,9 @@ H5FD_mpio_open(const char *name, unsigned flags, hid_t fapl_id,
/* Check for debug commands in the info parameter */
{
char debug_str[128];
- int infoerr, flag, i;
+ int flag, i;
if (MPI_INFO_NULL != info_dup) {
- infoerr = MPI_Info_get(fa->info, H5F_MPIO_DEBUG_KEY, 127,
- debug_str, &flag);
+ MPI_Info_get(fa->info, H5F_MPIO_DEBUG_KEY, 127, debug_str, &flag);
if (flag) {
fprintf(stdout, "H5FD_mpio debug flags=%s\n", debug_str );
for (i=0;
@@ -1514,7 +1513,7 @@ H5FD_mpio_read(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t dxpl_id, haddr_t add
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file access property list");
if (H5FD_MPIO==H5P_get_driver(plist)) {
/* 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 */
/*
@@ -1821,7 +1820,7 @@ H5FD_mpio_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr,
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file access property list");
if (H5FD_MPIO==H5P_get_driver(plist)) {
/* 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 */
/*