summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-02-25 15:40:27 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-02-25 15:40:27 (GMT)
commit17535fbc174978ae71d916a02ee4dacee66a9d8c (patch)
treed3114488ba01370e6b21acca5915c4f771125713 /tools
parentd8b07ce1d025e3f4284c5038347097180fc2da11 (diff)
downloadhdf5-17535fbc174978ae71d916a02ee4dacee66a9d8c.zip
hdf5-17535fbc174978ae71d916a02ee4dacee66a9d8c.tar.gz
hdf5-17535fbc174978ae71d916a02ee4dacee66a9d8c.tar.bz2
[svn-r1101] Changes since 19990219
---------------------- ./config/irix64 The old (-32) compiler is now supported by setting envrionment CC='cc -32'. The -64 compiler is the default or you can set CC='cc -64'. ./src/H5A.c ./src/H5D.c ./src/H5F.c ./src/H5Fistore.c ./src/H5Flow.c ./src/H5G.c ./src/H5I.c ./src/H5Ocomp.c ./src/H5P.c ./src/H5R.c ./src/H5RA.c ./src/H5T.c ./src/H5Tbit.c ./src/H5Tconv.c ./src/H5Z.c ./src/H5detect.c ./test/big.c ./test/cmpd_dset.c ./test/dsets.c ./test/dtypes.c ./test/enum.c ./test/mtime.c ./test/ohdr.c ./tools/h5ls.c Fixed lots of warnings on Irix64. Mailed a few remaining warnings in H5S to Quincey and a few in the dumper to Ruey-Hsia.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5ls.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index b6268bf..64775fe 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -594,7 +594,6 @@ display_float_type(hid_t type, int indent)
indent, "", (unsigned long)esize, 1==esize?"":"s",
(unsigned long)epos, (unsigned long)ebias);
printf("\n%*s(sign bit at %lu)", indent, "", (unsigned long)spos);
- return TRUE;
/* Display internal padding */
if (1+esize+msize<H5Tget_precision(type)) {
@@ -1590,7 +1589,7 @@ get_width(void)
* value is sometimes wrong.
*/
if ((s=getenv("COLUMNS")) && *s && isdigit(*s)) {
- width = strtol(s, NULL, 0);
+ width = (int)strtol(s, NULL, 0);
}
#if defined(HAVE_STRUCT_VIDEOCONFIG) && defined(HAVE__GETVIDEOCONFIG)
@@ -1712,7 +1711,7 @@ main (int argc, char *argv[])
} else if (!strcmp(argv[argno], "--string")) {
string_g = TRUE;
} else if (!strncmp(argv[argno], "--width=", 8)) {
- width_g = strtol(argv[argno]+8, &rest, 0);
+ width_g = (int)strtol(argv[argno]+8, &rest, 0);
if (width_g<=0 || *rest) {
usage(progname);
exit(1);
@@ -1732,7 +1731,7 @@ main (int argc, char *argv[])
} else {
s = argv[++argno];
}
- width_g = strtol(s, &rest, 0);
+ width_g = (int)strtol(s, &rest, 0);
if (width_g<=0 || *rest) {
usage(progname);
exit(1);