summaryrefslogtreecommitdiffstats
path: root/src/H5Fmpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Fmpi.c')
-rw-r--r--src/H5Fmpi.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/H5Fmpi.c b/src/H5Fmpi.c
index 5434aa5..9f3f6b6 100644
--- a/src/H5Fmpi.c
+++ b/src/H5Fmpi.c
@@ -86,20 +86,24 @@
* Return: Success: The size (positive)
* Failure: Negative
*
+ * Programmer: Jonathan Kim
+ * June 5, 2013
+ *
+ * Modifications:
*-------------------------------------------------------------------------
*/
herr_t
H5F_get_mpi_handle(const H5F_t *f, MPI_File **f_handle)
{
herr_t ret_value = SUCCEED;
- hid_t fapl = -1;
+ hid_t fapl=-1;
FUNC_ENTER_NOAPI(FAIL)
assert(f && f->shared);
/* Dispatch to driver */
- if ((ret_value = H5FD_get_vfd_handle(f->shared->lf, fapl, (void **)f_handle)) < 0)
+ if ((ret_value=H5FD_get_vfd_handle(f->shared->lf, fapl, f_handle)) < 0)
HGOTO_ERROR(H5E_FILE, H5E_CANTGET, FAIL, "can't get mpi file handle")
done: