summaryrefslogtreecommitdiffstats
path: root/src/H5Dselect.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-02 19:59:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-02 19:59:46 (GMT)
commit79aecf895393d2871764a9405c9698fd73225925 (patch)
treee14ce866c67d4ef68916e8b79c2f3c35dc51c463 /src/H5Dselect.c
parenta36a5b30d79f037169fc5cf95a2a600ded674409 (diff)
downloadhdf5-79aecf895393d2871764a9405c9698fd73225925.zip
hdf5-79aecf895393d2871764a9405c9698fd73225925.tar.gz
hdf5-79aecf895393d2871764a9405c9698fd73225925.tar.bz2
[svn-r12706] Description:
Clean up some of the warnings on 64-bit Linux... Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2) Too minor to require h5committest
Diffstat (limited to 'src/H5Dselect.c')
-rw-r--r--src/H5Dselect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dselect.c b/src/H5Dselect.c
index 928f90d..07038c7 100644
--- a/src/H5Dselect.c
+++ b/src/H5Dselect.c
@@ -128,7 +128,7 @@ H5D_select_fscat (H5D_io_info_t *io_info,
mem_off=0;
/* Write sequence list out */
- if ((*io_info->ops.writevv)(io_info, nseq, &dset_curr_seq, len, off, 1, &mem_curr_seq, &mem_len, &mem_off, buf)<0)
+ if((*io_info->ops.writevv)(io_info, nseq, &dset_curr_seq, len, off, (size_t)1, &mem_curr_seq, &mem_len, &mem_off, buf) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_WRITEERROR, FAIL, "write error");
/* Update buffer */
@@ -223,7 +223,7 @@ H5D_select_fgath (H5D_io_info_t *io_info,
mem_off=0;
/* Read sequence list in */
- if ((*io_info->ops.readvv)(io_info, nseq, &dset_curr_seq, len, off, 1, &mem_curr_seq, &mem_len, &mem_off, buf)<0)
+ if((*io_info->ops.readvv)(io_info, nseq, &dset_curr_seq, len, off, (size_t)1, &mem_curr_seq, &mem_len, &mem_off, buf) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_READERROR, 0, "read error");
/* Update buffer */