diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-12-05 18:10:12 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-12-09 20:58:29 (GMT) |
commit | 1aea46ce671daf2828ac65d0b8551b369f497922 (patch) | |
tree | a77307471815ac8a8ca266aed665b4d101b97415 /src/H5O.c | |
parent | 94de95266ac13503fdb48146da5bd646b89c2ffb (diff) | |
download | hdf5-1aea46ce671daf2828ac65d0b8551b369f497922.zip hdf5-1aea46ce671daf2828ac65d0b8551b369f497922.tar.gz hdf5-1aea46ce671daf2828ac65d0b8551b369f497922.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 */ |