summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-07-09 17:58:07 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-07-09 17:58:07 (GMT)
commit2bbf08c3fc35ca5d60a7618c73069af3e7476e85 (patch)
treea08bfd8c5fba6ec5fe6949369b4e819cc1681d63 /src/H5.c
parentb68be568be0f1d2e022c13a8c0e205c68d645503 (diff)
downloadhdf5-2bbf08c3fc35ca5d60a7618c73069af3e7476e85.zip
hdf5-2bbf08c3fc35ca5d60a7618c73069af3e7476e85.tar.gz
hdf5-2bbf08c3fc35ca5d60a7618c73069af3e7476e85.tar.bz2
[svn-r7188] Purpose:
Code cleanup Description: Back out an overly aggressive linting... Solution: Platforms tested: h5committested
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5.c b/src/H5.c
index e72942c..bd0576c 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -976,7 +976,7 @@ HDfprintf(FILE *stream, const char *fmt, ...)
case 'd':
case 'i':
if (!HDstrcmp(modifier, "h")) {
- short x = va_arg (ap, short);
+ short x = (short)va_arg (ap, int);
n = fprintf (stream, format_templ, x);
} else if (!*modifier) {
int x = va_arg (ap, int);
@@ -995,7 +995,7 @@ HDfprintf(FILE *stream, const char *fmt, ...)
case 'x':
case 'X':
if (!HDstrcmp (modifier, "h")) {
- unsigned short x = va_arg (ap, unsigned short);
+ unsigned short x = (unsigned short)va_arg (ap, unsigned int);
n = fprintf (stream, format_templ, x);
} else if (!*modifier) {
unsigned int x = va_arg (ap, unsigned int);