diff --git a/src/C/H5.c b/src/C/H5.c index 629517d..eee8ae6 100644 --- a/src/C/H5.c +++ b/src/C/H5.c @@ -135,7 +135,7 @@ H5GetStepNameFormat ( ) { H5_API_ENTER4 (h5_err_t, "f=0x%p, name=0x%p, l_name=%llu, width=0x%p", - f, name, l_name, width); + f, name, (unsigned long long)l_name, width); H5_API_RETURN (h5_get_stepname_fmt (f, name, l_name, width)); } @@ -151,7 +151,7 @@ H5SetStep ( h5_file_t* const f, /*!< [in] Handle to open file */ const h5_id_t step /*!< [in] Step to set. */ ) { - H5_API_ENTER2 (h5_err_t, "f=0x%p, step=%lld", f, step); + H5_API_ENTER2 (h5_err_t, "f=0x%p, step=%lld", f, (long long)step); H5_API_RETURN (h5_set_step (f, step)); } diff --git a/src/C/H5Part.c b/src/C/H5Part.c index 29c842b..1dc3d80 100644 --- a/src/C/H5Part.c +++ b/src/C/H5Part.c @@ -391,8 +391,8 @@ H5PartGetDatasetName ( "idx=%lld, " "name=\"%s\", len=%llu, ", f, - idx, - name, len); + (long long)idx, + name, (unsigned long long)len); H5_API_RETURN (h5u_get_dataset_info(f, idx, name, len, NULL, NULL)); } diff --git a/src/C/H5_attribs.c b/src/C/H5_attribs.c index 8b4fed5..8050bc5 100644 --- a/src/C/H5_attribs.c +++ b/src/C/H5_attribs.c @@ -730,9 +730,9 @@ H5GetStepAttribInfo ( "attrib_idx=%llu, attrib_name=%p, len_attrib_name=%llu, " "attrib_type=%p, attrib_nelem=%p", f, - attrib_idx, + (unsigned long long)attrib_idx, attrib_name, - len_of_attrib_name, + (unsigned long long)len_of_attrib_name, attrib_type, attrib_nelem); H5_API_RETURN (h5_get_attrib_info ( diff --git a/src/h5core/h5u_model.c b/src/h5core/h5u_model.c index 6e4157e..7f9c92b 100644 --- a/src/h5core/h5u_model.c +++ b/src/h5core/h5u_model.c @@ -322,7 +322,7 @@ h5u_set_view_indices ( TRY (hdf5_select_elements_of_dataspace ( u->diskshape, H5S_SELECT_SET, - nelems, indices ) ); + (hsize_t)nelems, (hsize_t*)indices ) ); u->viewindexed = 1;