more warnings fixed

This commit is contained in:
2011-05-24 15:28:32 +00:00
parent 9bdff77a00
commit 91eeefb9d2
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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));
}
+2 -2
View File
@@ -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));
}
+2 -2
View File
@@ -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 (
+1 -1
View File
@@ -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;