summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-01 01:13:29 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-01 01:13:29 (GMT)
commitd8f332bcb9c25646f4992299c16b3f91185d22a0 (patch)
tree8e89bfe8551853e46ec47415c2bd09e582da61b1
parenta0ff168ad5385cee535db5ed7822094ff3aa8518 (diff)
downloadhdf5-d8f332bcb9c25646f4992299c16b3f91185d22a0.zip
hdf5-d8f332bcb9c25646f4992299c16b3f91185d22a0.tar.gz
hdf5-d8f332bcb9c25646f4992299c16b3f91185d22a0.tar.bz2
[svn-r9608] Purpose:
Added comment of the fix. Platforms tested: only tested in heping as it is only a comment added.
-rw-r--r--test/tmisc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index e4bff08..3a9d785 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