From 2bbf08c3fc35ca5d60a7618c73069af3e7476e85 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 9 Jul 2003 12:58:07 -0500 Subject: [svn-r7188] Purpose: Code cleanup Description: Back out an overly aggressive linting... Solution: Platforms tested: h5committested --- src/H5.c | 4 ++-- 1 file 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); -- cgit v0.12