diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-22 05:12:24 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-22 05:12:24 (GMT) |
commit | 3055e499d527d9847c7f71f6a1596e69101183b3 (patch) | |
tree | b04ea155e05e90729d7fee347758f1b0e0d868f1 /src/H5Oflush.c | |
parent | 8939a2190f50ab42c6b59c0d2df33ac66bb625e7 (diff) | |
download | hdf5-3055e499d527d9847c7f71f6a1596e69101183b3.zip hdf5-3055e499d527d9847c7f71f6a1596e69101183b3.tar.gz hdf5-3055e499d527d9847c7f71f6a1596e69101183b3.tar.bz2 |
Switch loc_params to VOL callbacks to pass struct by pointer instead of by
value.
Diffstat (limited to 'src/H5Oflush.c')
-rw-r--r-- | src/H5Oflush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Oflush.c b/src/H5Oflush.c index 4b429f8..3e1ae46 100644 --- a/src/H5Oflush.c +++ b/src/H5Oflush.c @@ -92,7 +92,7 @@ H5Oflush(hid_t obj_id) loc_params.obj_type = H5I_get_type(obj_id); /* Flush the object */ - if(H5VL_object_specific(vol_obj, loc_params, H5VL_OBJECT_FLUSH, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, obj_id) < 0) + if(H5VL_object_specific(vol_obj, &loc_params, H5VL_OBJECT_FLUSH, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, obj_id) < 0) HGOTO_ERROR(H5E_OHDR, H5E_CANTFLUSH, FAIL, "unable to flush object") done: @@ -256,7 +256,7 @@ H5Orefresh(hid_t oid) loc_params.obj_type = H5I_get_type(oid); /* Refresh the object */ - if(H5VL_object_specific(vol_obj, loc_params, H5VL_OBJECT_REFRESH, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, oid) < 0) + if(H5VL_object_specific(vol_obj, &loc_params, H5VL_OBJECT_REFRESH, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, oid) < 0) HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, FAIL, "unable to refresh object") done: |