summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5.c b/src/H5.c
index b035ab3..3b412db 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -695,7 +695,7 @@ HDfprintf (FILE *stream, const char *fmt, ...)
case 'c':
if (1) {
- char x = va_arg (ap, char);
+ char x = (char)va_arg (ap, int);
n = fprintf (stream, template, x);
}
break;