diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-11-27 20:19:41 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2019-11-27 20:19:41 (GMT) |
commit | 68852d726ccbc0229dbe75d2989d4bdfbff64bf0 (patch) | |
tree | 1a2a04a1b391c6239ab95afa35541f9407473edb /src/H5Tref.c | |
parent | 5e800bff9defe17b71643c848a5e66fc52516737 (diff) | |
parent | f46494ffd8449fc610798c8af312362608029d3d (diff) | |
download | hdf5-68852d726ccbc0229dbe75d2989d4bdfbff64bf0.zip hdf5-68852d726ccbc0229dbe75d2989d4bdfbff64bf0.tar.gz hdf5-68852d726ccbc0229dbe75d2989d4bdfbff64bf0.tar.bz2 |
Merge pull request #2057 in HDFFV/hdf5 from ~JSOUMAGNE/hdf5:topic_get_file_id_native to develop
* commit 'f46494ffd8449fc610798c8af312362608029d3d':
Remove H5VL_NATIVE_FILE_GET_FILE_ID and add H5VL_OBJECT_GET_FILE
Diffstat (limited to 'src/H5Tref.c')
-rw-r--r-- | src/H5Tref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tref.c b/src/H5Tref.c index 2e52954..20c6e41 100644 --- a/src/H5Tref.c +++ b/src/H5Tref.c @@ -468,7 +468,7 @@ H5T__ref_mem_write(H5VL_object_t *src_file, const void *src_buf, size_t src_size /* If no filename set, this is not an external reference */ if(NULL == H5R_REF_FILENAME(dst_ref)) { /* TODO temporary hack to retrieve file object */ - if((file_id = H5F__get_file_id(src_f, FALSE)) < 0) + if((file_id = H5F_get_file_id(src_file, H5I_FILE, FALSE)) < 0) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file or file object") /* Attach loc ID to reference and hold reference to it */ |