summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-12-18 17:30:18 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-12-18 17:30:18 (GMT)
commitb6d27bdf90b3964af52ae015d14fbd23352dd04a (patch)
tree98f43d92465c4935381a92b4e8bee6096d32b57e /src
parentb55e5efc1c2a4bc4a074921e2130b22be1b564bd (diff)
downloadhdf5-b6d27bdf90b3964af52ae015d14fbd23352dd04a.zip
hdf5-b6d27bdf90b3964af52ae015d14fbd23352dd04a.tar.gz
hdf5-b6d27bdf90b3964af52ae015d14fbd23352dd04a.tar.bz2
Fixed an enums-in-va_list issue in the passthru VOL connector.
Diffstat (limited to 'src')
-rw-r--r--src/H5VLpassthru.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5VLpassthru.c b/src/H5VLpassthru.c
index 49102d7..8b83e2e 100644
--- a/src/H5VLpassthru.c
+++ b/src/H5VLpassthru.c
@@ -1636,7 +1636,7 @@ H5VL_pass_through_file_specific(void *file, H5VL_file_specific_t specific_type,
hid_t plist_id;
/* Retrieve parameters for 'mount' operation, so we can unwrap the child file */
- loc_type = va_arg(arguments, H5I_type_t);
+ loc_type = (H5I_type_t)va_arg(arguments, int); /* enum work-around */
name = va_arg(arguments, const char *);
child_file = (H5VL_pass_through_t *)va_arg(arguments, void *);
plist_id = va_arg(arguments, hid_t);
@@ -1645,7 +1645,7 @@ H5VL_pass_through_file_specific(void *file, H5VL_file_specific_t specific_type,
under_vol_id = o->under_vol_id;
/* Re-issue 'file specific' call, using the unwrapped pieces */
- ret_value = H5VL_pass_through_file_specific_reissue(o->under_object, o->under_vol_id, specific_type, dxpl_id, req, loc_type, name, child_file->under_object, plist_id);
+ ret_value = H5VL_pass_through_file_specific_reissue(o->under_object, o->under_vol_id, specific_type, dxpl_id, req, (int)loc_type, name, child_file->under_object, plist_id);
} /* end if */
else if(specific_type == H5VL_FILE_IS_ACCESSIBLE) {
H5VL_pass_through_info_t *info;