summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-26 17:42:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-26 17:42:48 (GMT)
commit91fa38993526b45ad2e0da2f8a24548bac21d832 (patch)
tree5c1b8d0153faf4bfcec36280872acc8ef71d6eaf /src/H5D.c
parentbda4c6c94e77a5ff0aceb7117c90e371505ba233 (diff)
downloadhdf5-91fa38993526b45ad2e0da2f8a24548bac21d832.zip
hdf5-91fa38993526b45ad2e0da2f8a24548bac21d832.tar.gz
hdf5-91fa38993526b45ad2e0da2f8a24548bac21d832.tar.bz2
[svn-r793] Changed return value for H5Sget_select_npoints to hssize_t to enable negative
return values.
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 67298f1..2c24479 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1407,7 +1407,7 @@ H5D_read(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
const H5S_t *file_space, const H5D_xfer_t *xfer_parms,
void *buf/*out*/)
{
- hsize_t nelmts; /*number of elements */
+ hssize_t nelmts; /*number of elements */
size_t smine_start; /*strip mine start loc */
size_t n, smine_nelmts; /*elements per strip */
hid_t tconv_id=FAIL, bkg_id=FAIL; /* Conversion buffer IDs */
@@ -1768,7 +1768,7 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
const H5S_t *file_space, const H5D_xfer_t *xfer_parms,
const void *buf)
{
- hsize_t nelmts; /*total number of elmts */
+ hssize_t nelmts; /*total number of elmts */
size_t smine_start; /*strip mine start loc */
size_t n, smine_nelmts; /*elements per strip */
hid_t tconv_id=FAIL, bkg_id=FAIL; /* Conversion buffer IDs */
@@ -2310,7 +2310,7 @@ H5D_init_storage(H5D_t *dset, const H5S_t *space)
{
intn ndims;
hsize_t dim[H5O_LAYOUT_NDIMS];
- hsize_t npoints, ptsperbuf;
+ hssize_t npoints, ptsperbuf;
size_t size, bufsize=8*1024;
hid_t buf_id = -1;
haddr_t addr;