diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-08-09 15:39:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-08-09 15:39:28 (GMT) |
commit | a7028fb006be7d91626650f22748d22a1a74f6ee (patch) | |
tree | 874020ca2742a30dcc7d311bc655dd1ecf621e27 /src/H5Spoint.c | |
parent | 71d795f3efe63e329e28da7a405657471a55a3df (diff) | |
download | hdf5-a7028fb006be7d91626650f22748d22a1a74f6ee.zip hdf5-a7028fb006be7d91626650f22748d22a1a74f6ee.tar.gz hdf5-a7028fb006be7d91626650f22748d22a1a74f6ee.tar.bz2 |
[svn-r5865] Purpose:
Bug fix
Description:
hsize_t comparisons for selection boundaries (in H5Sget_select_bounds)
were failing on Linux with --disable-hsizet.
Solution:
Changed comparisons to use use unsigned values instead of signed ones.
Platforms tested:
Linux 2.2.x (eirene)
Diffstat (limited to 'src/H5Spoint.c')
-rw-r--r-- | src/H5Spoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Spoint.c b/src/H5Spoint.c index 6e6ca5b..786eae3 100644 --- a/src/H5Spoint.c +++ b/src/H5Spoint.c @@ -884,7 +884,7 @@ H5S_point_bounds(const H5S_t *space, hsize_t *start, hsize_t *end) /* Set the start and end arrays up */ for(i=0; i<rank; i++) { - start[i]=UINT_MAX; + start[i]=HSIZET_MAX; end[i]=0; } /* end for */ |