diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-12-05 18:10:12 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:19 (GMT) |
commit | 56d210ac3ffd799d3b53392019f036990b6683e7 (patch) | |
tree | 55ea25bbb8c176414c536d56a15ea2e024384945 /src/H5O.c | |
parent | 7bbe57d309a28a2aa16661ca437070b646326c82 (diff) | |
download | hdf5-56d210ac3ffd799d3b53392019f036990b6683e7.zip hdf5-56d210ac3ffd799d3b53392019f036990b6683e7.tar.gz hdf5-56d210ac3ffd799d3b53392019f036990b6683e7.tar.bz2 |
Fix H5VL_token_t type and fix H5VL_loc_by_token to use H5VL_token_t *
Diffstat (limited to 'src/H5O.c')
-rw-r--r-- | src/H5O.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -290,11 +290,11 @@ H5Oopen_by_addr(hid_t loc_id, haddr_t addr) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "invalid VOL object") /* This is a native specific routine that requires serialization of the token */ - p = obj_token; + p = (uint8_t *)&obj_token; H5F_addr_encode(f, &p, addr); loc_params.type = H5VL_OBJECT_BY_TOKEN; - loc_params.loc_data.loc_by_token.token = obj_token; + loc_params.loc_data.loc_by_token.token = &obj_token; loc_params.obj_type = vol_obj_type; /* Open the object */ |