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/H5Lexternal.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/H5Lexternal.c')
-rw-r--r-- | src/H5Lexternal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Lexternal.c b/src/H5Lexternal.c index ad0344e..73f7b89 100644 --- a/src/H5Lexternal.c +++ b/src/H5Lexternal.c @@ -414,7 +414,7 @@ H5Lcreate_external(const char *file_name, const char *obj_name, HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get property value from plist") /* Create an external link */ - if(H5VL_link_create(H5VL_LINK_CREATE_UD, vol_obj, loc_params, lcpl_id, lapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL) < 0) + if(H5VL_link_create(H5VL_LINK_CREATE_UD, vol_obj, &loc_params, lcpl_id, lapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL) < 0) HGOTO_ERROR(H5E_LINK, H5E_CANTINIT, FAIL, "unable to create external link") done: |