diff options
author | Quincey Koziol <koziol@koziol.gov> | 2019-04-25 17:57:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2019-04-25 17:57:23 (GMT) |
commit | 53ffbf4bf89350b5d6b90c11585f39af94209754 (patch) | |
tree | d72c3b6e3f358cc911e98628fbd161049d733bf2 /src | |
parent | 6d912bf0b5c9613acaf216616b59ae1aec3f7e1f (diff) | |
download | hdf5-53ffbf4bf89350b5d6b90c11585f39af94209754.zip hdf5-53ffbf4bf89350b5d6b90c11585f39af94209754.tar.gz hdf5-53ffbf4bf89350b5d6b90c11585f39af94209754.tar.bz2 |
Cast enum to int, for strict varargs handling.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5L.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -648,7 +648,7 @@ H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "invalid location identifier") /* Create 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, link_type, udata, udata_size) < 0) + if(H5VL_link_create(H5VL_LINK_CREATE_UD, vol_obj, &loc_params, lcpl_id, lapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, (int)link_type, udata, udata_size) < 0) HGOTO_ERROR(H5E_LINK, H5E_CANTINIT, FAIL, "unable to create link") done: |