From 74df1bc676059ff0aed34e0915bf5bb44167ca2a Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 23 Sep 2016 17:03:20 +0200 Subject: [PATCH] src/h5core/h5_attribs.c: bugfixes --- src/h5core/h5_attribs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/h5core/h5_attribs.c b/src/h5core/h5_attribs.c index e0dfff6..b9d113d 100644 --- a/src/h5core/h5_attribs.c +++ b/src/h5core/h5_attribs.c @@ -231,17 +231,17 @@ h5_write_file_attrib ( const char* const attrib_name, const h5_types_t attrib_type, const void* const attrib_value, - const hsize_t attrib_nelem + const h5_size_t attrib_nelem ) { h5_file_p f = (h5_file_p)f_; H5_CORE_API_ENTER (h5_err_t, "f=%p, attrib_name='%s', attrib_type=%lld, " - "attrib_value=%p, attrib_nelem=%llu", + "attrib_value=%p, attrib_nelem=%lld", f, attrib_name, (long long int)attrib_type, attrib_value, - attrib_nelem); + (long long)attrib_nelem); CHECK_FILEHANDLE (f); CHECK_WRITABLE_MODE (f); if (is_appendonly (f)) { @@ -273,12 +273,12 @@ h5_write_step_attrib ( h5_file_p f = (h5_file_p)f_; H5_CORE_API_ENTER (h5_err_t, "f=%p, attrib_name='%s', attrib_type=%lld, " - "attrib_value=%p, attrib_nelem=%llu", + "attrib_value=%p, attrib_nelem=%lld", f, attrib_name, (long long int)attrib_type, attrib_value, - attrib_nelem); + (long long)attrib_nelem); CHECK_FILEHANDLE (f); CHECK_TIMEGROUP (f); CHECK_WRITABLE_MODE (f);