From ed8d9f99749d2e9876c40f2f13ea90423e27d12e Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Tue, 30 Nov 2004 20:13:27 -0500 Subject: [svn-r9607] Purpose: Added comment of the fix. Platforms tested: only tested in heping as it is only a comment added. --- test/tmisc.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v0.12