summaryrefslogtreecommitdiffstats
path: root/src/H5Smpio.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-09-26 01:03:20 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-09-26 01:03:20 (GMT)
commitd20e1274a7bbf8ab1f87f3ebd61cea82ac8caf53 (patch)
tree1de1eb8728eb3fdb5c9f563148003176669d1586 /src/H5Smpio.c
parent5f0bb858131ae598bc6b68cc7bf5648a0c8c325e (diff)
downloadhdf5-d20e1274a7bbf8ab1f87f3ebd61cea82ac8caf53.zip
hdf5-d20e1274a7bbf8ab1f87f3ebd61cea82ac8caf53.tar.gz
hdf5-d20e1274a7bbf8ab1f87f3ebd61cea82ac8caf53.tar.bz2
Repair more format strings.
Diffstat (limited to 'src/H5Smpio.c')
-rw-r--r--src/H5Smpio.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/H5Smpio.c b/src/H5Smpio.c
index 147fd25..2f8c43a 100644
--- a/src/H5Smpio.c
+++ b/src/H5Smpio.c
@@ -704,7 +704,7 @@ if(H5DEBUG(S))
#ifdef H5S_DEBUG
if(H5DEBUG(S)) {
- HDfprintf(H5DEBUG(S), "%s: start=%Hd stride=%Hu count=%Hu block=%Hu xtent=%Hu",
+ HDfprintf(H5DEBUG(S), "%s: start=%" PRIdHSIZE " stride=%" PRIuHSIZE " count=%" PRIuHSIZE " block=%" PRIuHSIZE " xtent=%" PRIuHSIZE,
FUNC, d[u].start, d[u].strid, d[u].count, d[u].block, d[u].xtent);
if(u == 0)
HDfprintf(H5DEBUG(S), " rank=%u\n", rank);
@@ -736,7 +736,7 @@ if(H5DEBUG(S))
#ifdef H5S_DEBUG
if(H5DEBUG(S)) {
- HDfprintf(H5DEBUG(S), "%s: start=%Hd stride=%Hu count=%Hu block=%Hu xtent=%Hu",
+ HDfprintf(H5DEBUG(S), "%s: start=%" PRIdHSIZE " stride=%" PRIuHSIZE " count=%" PRIuHSIZE " block=%" PRIuHSIZE " xtent=%" PRIuHSIZE,
FUNC, d[u].start, d[u].strid, d[u].count, d[u].block, d[u].xtent);
if(u == 0)
HDfprintf(H5DEBUG(S), " rank=%u\n", rank);
@@ -761,7 +761,7 @@ if(H5DEBUG(S)) {
#ifdef H5S_DEBUG
if(H5DEBUG(S)) {
i = ((int)rank) - 1;
- HDfprintf(H5DEBUG(S), " offset[%2d]=%Hu; max_xtent[%2d]=%Hu\n", i, offset[i], i, max_xtent[i]);
+ HDfprintf(H5DEBUG(S), " offset[%2d]=%" PRIuHSIZE "; max_xtent[%2d]=%" PRIuHSIZE "\n", i, offset[i], i, max_xtent[i]);
}
#endif
for(i = ((int)rank) - 2; i >= 0; --i) {
@@ -769,7 +769,7 @@ if(H5DEBUG(S)) {
max_xtent[i] = max_xtent[i + 1] * d[i].xtent;
#ifdef H5S_DEBUG
if(H5DEBUG(S))
- HDfprintf(H5DEBUG(S), " offset[%2d]=%Hu; max_xtent[%2d]=%Hu\n", i, offset[i], i, max_xtent[i]);
+ HDfprintf(H5DEBUG(S), " offset[%2d]=%" PRIuHSIZE "; max_xtent[%2d]=%" PRIuHSIZE "\n", i, offset[i], i, max_xtent[i]);
#endif
} /* end for */
@@ -784,9 +784,9 @@ if(H5DEBUG(S))
*******************************************************/
#ifdef H5S_DEBUG
if(H5DEBUG(S)) {
- HDfprintf(H5DEBUG(S), "%s: Making contig type %Zu MPI_BYTEs\n", FUNC, elmt_size);
+ HDfprintf(H5DEBUG(S), "%s: Making contig type %zu MPI_BYTEs\n", FUNC, elmt_size);
for(i = ((int)rank) - 1; i >= 0; --i)
- HDfprintf(H5DEBUG(S), "d[%d].xtent=%Hu \n", i, d[i].xtent);
+ HDfprintf(H5DEBUG(S), "d[%d].xtent=%" PRIuHSIZE "\n", i, d[i].xtent);
}
#endif
@@ -814,7 +814,9 @@ if(H5DEBUG(S)) {
#ifdef H5S_DEBUG
if(H5DEBUG(S))
HDfprintf(H5DEBUG(S), "%s: Dimension i=%d \n"
- "start=%Hd count=%Hu block=%Hu stride=%Hu, xtent=%Hu max_xtent=%d\n",
+ "start=%" PRIdHSIZE " count=%" PRIuHSIZE " block=%" PRIuHSIZE
+ " stride=%" PRIuHSIZE ", xtent=%" PRIuHSIZE
+ " max_xtent=%" PRIuHSIZE "\n",
FUNC, i, d[i].start, d[i].count, d[i].block, d[i].strid, d[i].xtent, max_xtent[i]);
#endif
@@ -955,7 +957,7 @@ done:
#ifdef H5S_DEBUG
if(H5DEBUG(S))
- HDfprintf(H5DEBUG(S), "Leave %s, count=%ld is_derived_type=%t\n", FUNC, *count, *is_derived_type);
+ HDfprintf(H5DEBUG(S), "Leave %s, count=%d is_derived_type=%s\n", FUNC, *count, (*is_derived_type) ? "TRUE" : "FALSE");
#endif
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5S__mpio_reg_hyper_type() */