summaryrefslogtreecommitdiffstats
path: root/src/H5Fint.c
diff options
context:
space:
mode:
authorJacob Smith <jake.smith@hdfgroup.org>2018-12-19 21:14:51 (GMT)
committerJacob Smith <jake.smith@hdfgroup.org>2018-12-19 21:14:51 (GMT)
commit38de07aea3c824e1fc332e7c03c20e1d0711ecb1 (patch)
treeb1e48c62b7df02238c4e281f6a0599fed10fca15 /src/H5Fint.c
parent2b4e540fadf6afab13960ae754f4ece5ad4c976a (diff)
parent33345b835c1cbe96a41c7395ed76af23ea5673d3 (diff)
downloadhdf5-38de07aea3c824e1fc332e7c03c20e1d0711ecb1.zip
hdf5-38de07aea3c824e1fc332e7c03c20e1d0711ecb1.tar.gz
hdf5-38de07aea3c824e1fc332e7c03c20e1d0711ecb1.tar.bz2
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~jake.smith/hdf5 into dset_ohdr_minimize
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r--src/H5Fint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index 46ed62a..e35d787 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -38,6 +38,7 @@
#include "H5SMprivate.h" /* Shared Object Header Messages */
#include "H5Tprivate.h" /* Datatypes */
#include "H5VLprivate.h" /* Virtual Object Layer */
+#include "H5VLnative.h" /* Native VOL connector */
/****************/
@@ -3701,7 +3702,7 @@ H5F_get_file_id(hid_t obj_id, H5I_type_t type)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "invalid identifier")
/* Get the file through the VOL */
- if(H5VL_file_optional(vol_obj, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, H5VL_NATIVE_FILE_GET_FILE_ID, type, &file_id) < 0)
+ if(H5VL_file_optional(vol_obj, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, H5VL_NATIVE_FILE_GET_FILE_ID, (int)type, &file_id) < 0)
HGOTO_ERROR(H5E_FILE, H5E_CANTINIT, H5I_INVALID_HID, "unable to get file ID")
if(H5I_INVALID_HID == file_id)
HGOTO_ERROR(H5E_FILE, H5E_CANTINIT, H5I_INVALID_HID, "unable to get the file ID through the VOL")