summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-08 19:23:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-08 19:23:40 (GMT)
commita89594728adfd0b3aded473b44565c5e5e5dcd18 (patch)
treeb8594183d063a1db4769e53eda672f8ad4af32b8 /src/H5.c
parentf3c2fbaff555ea11be81d55c83f6f31bb59d633b (diff)
downloadhdf5-a89594728adfd0b3aded473b44565c5e5e5dcd18.zip
hdf5-a89594728adfd0b3aded473b44565c5e5e5dcd18.tar.gz
hdf5-a89594728adfd0b3aded473b44565c5e5e5dcd18.tar.bz2
[svn-r7319] Purpose:
Code cleanup Description: Use unsigned integers to print 'haddr_t's Platforms tested: h5committested
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5.c b/src/H5.c
index 8cffc74..90d402b 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -1049,12 +1049,12 @@ HDfprintf(FILE *stream, const char *fmt, ...)
/*lint --e{506} Don't issue warnings about constant value booleans */
/*lint --e{774} Don't issue warnings boolean within 'if' always evaluates false/true */
if (sizeof(x)==H5_SIZEOF_INT) {
- HDstrcat(format_templ, "d");
+ HDstrcat(format_templ, "u");
} else if (sizeof(x)==H5_SIZEOF_LONG) {
- HDstrcat(format_templ, "ld");
+ HDstrcat(format_templ, "lu");
} else if (sizeof(x)==H5_SIZEOF_LONG_LONG) {
HDstrcat(format_templ, H5_PRINTF_LL_WIDTH);
- HDstrcat(format_templ, "d");
+ HDstrcat(format_templ, "u");
}
n = fprintf(stream, format_templ, x);
} else {