summaryrefslogtreecommitdiffstats
path: root/src/H5Sall.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-01-17 20:34:14 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-01-17 20:34:14 (GMT)
commit1208e94eff8223d5c68bd7d50c4b885df222122a (patch)
treee740ea0e3b23176f5e194d7e98def93ec33d5b0e /src/H5Sall.c
parent6f667500c1f163a7fd9cb15945078c3fef622ab1 (diff)
downloadhdf5-1208e94eff8223d5c68bd7d50c4b885df222122a.zip
hdf5-1208e94eff8223d5c68bd7d50c4b885df222122a.tar.gz
hdf5-1208e94eff8223d5c68bd7d50c4b885df222122a.tar.bz2
[svn-r6296] Purpose:
Code cleanup Description: Reduce warnings on Windows Platforms tested: FreeBSD 4.7 (sleipnir)
Diffstat (limited to 'src/H5Sall.c')
-rw-r--r--src/H5Sall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Sall.c b/src/H5Sall.c
index bc7a162..a8e5f40 100644
--- a/src/H5Sall.c
+++ b/src/H5Sall.c
@@ -646,7 +646,8 @@ H5S_all_get_seq_list(const H5S_t UNUSED *space, unsigned UNUSED flags, H5S_sel_i
/* Compute the offset in the dataset */
off[0]=iter->all.offset*elem_size;
- len[0]=MIN(maxbytes,bytes_left);
+ H5_CHECK_OVERFLOW(bytes_left,hsize_t,size_t);
+ len[0]=MIN(maxbytes,(size_t)bytes_left);
/* Should only need one sequence for 'all' selections */
*nseq=1;