summaryrefslogtreecommitdiffstats
path: root/src/H5Fmpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Fmpio.c')
-rw-r--r--src/H5Fmpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fmpio.c b/src/H5Fmpio.c
index 7647031..50e7ddc 100644
--- a/src/H5Fmpio.c
+++ b/src/H5Fmpio.c
@@ -521,7 +521,7 @@ H5F_mpio_read(H5F_low_t *lf, H5F_access_t *access_parms,
* (or even MPI_TYPE_NULL, which could mean "use MPI_BYTE" by convention).
*/
use_types_this_time = access_parms->u.mpio.use_types;
- if (access_parms->u.mpio.use_types) {
+ if (use_types_this_time) {
/* prepare for a full-blown xfer using btype, ftype, and disp */
buf_type = access_parms->u.mpio.btype;
file_type = access_parms->u.mpio.ftype;