summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-01 01:13:27 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-01 01:13:27 (GMT)
commited8d9f99749d2e9876c40f2f13ea90423e27d12e (patch)
treea504454f056ea70ccc7b69dfa51a997d4c60142f /test
parentd8773b62c4360c7e5e6cb641c9dcbd0c816be2da (diff)
downloadhdf5-ed8d9f99749d2e9876c40f2f13ea90423e27d12e.zip
hdf5-ed8d9f99749d2e9876c40f2f13ea90423e27d12e.tar.gz
hdf5-ed8d9f99749d2e9876c40f2f13ea90423e27d12e.tar.bz2
[svn-r9607] Purpose:
Added comment of the fix. Platforms tested: only tested in heping as it is only a comment added.
Diffstat (limited to 'test')
-rw-r--r--test/tmisc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index efadf0d..943152f 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -229,6 +229,8 @@ unsigned m13_rdata[MISC13_DIM1][MISC13_DIM2]; /* Data read from dataset
#define MISC20_DSET_NAME "Dataset"
#define MISC20_DSET2_NAME "Dataset2"
#define MISC20_SPACE_RANK 2
+/* Make sure the product of the following 2 does not get too close to */
+/* 64 bits, risking an overflow. */
#define MISC20_SPACE_DIM0 (8*1024*1024*(uint64_t)1024)
#define MISC20_SPACE_DIM1 ((256*1024*(uint64_t)1024)+1)
#define MISC20_SPACE2_DIM0 8