diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-30 20:53:53 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-11-30 20:53:53 (GMT) |
commit | 17daa748fa7458db8ea98593e21e8ebb123ce68e (patch) | |
tree | c965fbb64b7b84cfa57c5af02af47b6a80d9993e /test/gen_old_layout.c | |
parent | 5d104d60c92428c8460673591ff07437d44a8a36 (diff) | |
download | hdf5-17daa748fa7458db8ea98593e21e8ebb123ce68e.zip hdf5-17daa748fa7458db8ea98593e21e8ebb123ce68e.tar.gz hdf5-17daa748fa7458db8ea98593e21e8ebb123ce68e.tar.bz2 |
[svn-r9603] Purpose:
Bug fix
Description:
Correct integer overflow situation for computing the size of a dataset.
Solution:
Rachet one of the dimensions down far enough that the total size of the
dataset's raw data doesn't overflow a 64-bit int.
Platforms tested:
FreeBSD 4.10 (sleipnir)
IRIX 6.? (tesla) w/-n32
Too minor to require h5committest
Diffstat (limited to 'test/gen_old_layout.c')
-rw-r--r-- | test/gen_old_layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gen_old_layout.c b/test/gen_old_layout.c index 473b3d3..46bbdaf 100644 --- a/test/gen_old_layout.c +++ b/test/gen_old_layout.c @@ -33,7 +33,7 @@ #define TESTFILE "tlayouto.h5" #define SPACE_RANK 2 #define SPACE_DIM0 (8*1024*1024*1024ULL) -#define SPACE_DIM1 ((4*1024*1024*1024ULL)+1ULL) +#define SPACE_DIM1 ((256*1024*1024ULL)+1ULL) /*------------------------------------------------------------------------- |