diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-03-05 21:27:38 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-03-05 21:27:38 (GMT) |
commit | 79158424981ffc6cf5ce69a64cd096e4c928d842 (patch) | |
tree | 3e0dc2fb04966ef49cbe10ee820a770d1c5a1215 /src/H5V.c | |
parent | 4badc161ae7cd13a01e17b8c920759e47631951a (diff) | |
download | hdf5-79158424981ffc6cf5ce69a64cd096e4c928d842.zip hdf5-79158424981ffc6cf5ce69a64cd096e4c928d842.tar.gz hdf5-79158424981ffc6cf5ce69a64cd096e4c928d842.tar.bz2 |
[svn-r306] Changes since 19980305
----------------------
./src/H5D.c
./test/external.c
A contiguous dataset can now be stored in external files in
such a way that the slowest varying dimension can be increased
after the dataset is created and even written. The user must
have reserved enough space in the external file and the data
space must allow an increase the the slowest varying dimension.
See test_3() of ./test/external.c
./src/H5Oefl.c
./configure.in
./src/H5Fprivate.h
Fixed an overflow bug with unlimited external storage.
./src/H5V.c
Fixed a cast warning.
./test/dsets.c
Make better use of automatic error reporting.
Diffstat (limited to 'src/H5V.c')
-rw-r--r-- | src/H5V.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ H5V_hyper_stride(intn n, const size_t *size, for (i = n - 2, acc = 1; i >= 0; --i) { size_t tmp = acc * (total_size[i+1] - size[i+1]); assert (tmp<((size_t)1<<(8*sizeof(ssize_t)-1))); - stride[i] = (size_t)tmp; /*overflow checked*/ + stride[i] = (ssize_t)tmp; /*overflow checked*/ acc *= total_size[i+1]; skip += acc * (offset ? offset[i] : 0); } |