summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-17 13:42:39 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-17 13:42:39 (GMT)
commit9a9b10235e41ff044e435e6efda36592ce1476cf (patch)
treef96da62655f8a8e48031a50d464895c5e639788c /src
parent9dbe3e5c75389faaac20cee77817c62a738eeab2 (diff)
downloadhdf5-9a9b10235e41ff044e435e6efda36592ce1476cf.zip
hdf5-9a9b10235e41ff044e435e6efda36592ce1476cf.tar.gz
hdf5-9a9b10235e41ff044e435e6efda36592ce1476cf.tar.bz2
[svn-r2962] Purpose:
Code cleanup Description: Changed another hard-coded '32' into H5S_MAX_RANK Platforms tested: Eyeballed...
Diffstat (limited to 'src')
-rw-r--r--src/H5Smpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Smpio.c b/src/H5Smpio.c
index 59ee6c0..12daaf5 100644
--- a/src/H5Smpio.c
+++ b/src/H5Smpio.c
@@ -174,7 +174,7 @@ H5S_mpio_hyper_type( const H5S_t *space, const size_t elmt_size,
if (0==elmt_size) goto empty;
/* make a local copy of the dimension info so we can transform them */
- assert(rank<=32); /* within array bounds */
+ assert(rank<=H5S_MAX_RANK); /* within array bounds */
for ( i=0; i<rank; ++i) {
d[i].start = diminfo[i].start;
d[i].strid = diminfo[i].stride;