summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-08-18 23:19:27 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-08-18 23:19:27 (GMT)
commit93e5190bb173a89deb7a91f72f800f6ab5769b8e (patch)
tree2bb86e9387ca7702ecc6742630f2301ff2bc76a9 /src/H5.c
parentda3fcf286af08c45449fad4002889aa0a0ab7850 (diff)
downloadhdf5-93e5190bb173a89deb7a91f72f800f6ab5769b8e.zip
hdf5-93e5190bb173a89deb7a91f72f800f6ab5769b8e.tar.gz
hdf5-93e5190bb173a89deb7a91f72f800f6ab5769b8e.tar.bz2
[svn-r603] Changes since 19980818
---------------------- ./src/H5.c Fixed an argument promotion bug in HDfprintf() ./src/H5Fistore.c Fixed a array bounds read error. ./src/H5HG.c Fixed uninitialized (but unused) data appearing in the hdf5 file, a potential security problem. ./src/H5T.c ./src/H5Tpublic.h Added new data types for hdf5 types: H5T_NATIVE_HSIZE, H5T_NATIVE_HSSIZE, H5T_NATIVE_HERR, and H5T_NATIVE_HBOOL. I did not add H5T_NATIVE_HID since I couldn't think of a reason that it would be stored in a file anyway.
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;