summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-04-10 18:30:19 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-04-10 18:30:19 (GMT)
commit861d43c98a5c80ee406b131054f709fcdf689784 (patch)
tree992b89fcc980fb43278e69419729fde52dce6c4d /src
parent82d536f4560440d87bd42ed4dea16074ce9e2ca2 (diff)
downloadhdf5-861d43c98a5c80ee406b131054f709fcdf689784.zip
hdf5-861d43c98a5c80ee406b131054f709fcdf689784.tar.gz
hdf5-861d43c98a5c80ee406b131054f709fcdf689784.tar.bz2
[svn-r341] Changes since 19980409
---------------------- ./INSTALL ./INSTALL_MAINT Updated installation instructions. ./html/Big.html [NEW] A guide to using big datasets on small machines. ./MANIFEST Added Big.html and INSTALL.ascired. ./html/Datasets.html ./html/Dataspaces.html ./html/Datatypes.html ./html/Files.html ./html/H5.api.html ./html/H5.intro.html ./html/H5.sample_code.html ./html/H5.user.html Updated documentation by changing lots of `size_t' arguments to `hsize_t'. Added line numbers to some examples. ./html/H5.intro.html Perhaps someone want's to volunteer to make this file human-readable?
Diffstat (limited to 'src')
-rw-r--r--src/H5.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5.c b/src/H5.c
index 64363e4..4d7896c 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -463,7 +463,7 @@ HDfprintf (FILE *stream, const char *fmt, ...)
/* Field width */
if (isdigit (*s)) {
zerofill = ('0'==*s);
- fwidth = strtol (s, &rest, 10);
+ fwidth = (int)strtol (s, &rest, 10);
s = rest;
} else if ('*'==*s) {
fwidth = va_arg (ap, int);
@@ -478,7 +478,7 @@ HDfprintf (FILE *stream, const char *fmt, ...)
if ('.'==*s) {
s++;
if (isdigit (*s)) {
- prec = strtol (s+1, &rest, 10);
+ prec = (int)strtol (s+1, &rest, 10);
s = rest;
} else if ('*'==*s) {
prec = va_arg (ap, int);
@@ -609,7 +609,7 @@ HDfprintf (FILE *stream, const char *fmt, ...)
default:
fputs (template, stream);
- n = strlen (template);
+ n = (int)strlen (template);
break;
}
nout += n;
@@ -689,8 +689,8 @@ HDstrtoll (const char *s, const char **rest, int base)
s++;
} else if ('-'==*s) {
sign = -1;
- s++;
- }
+ s++;
+ }
/* Zero base prefix */
if (0==base && '0'==*s && ('x'==s[1] || 'X'==s[1])) {