summaryrefslogtreecommitdiffstats
path: root/hl/src/H5TB.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-09 04:14:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-09 04:14:29 (GMT)
commit20720af231c875330a6074f65ee1c54e6a806fbb (patch)
tree64ae80f3ab6b76c09e2c309e76eb161cf133eed4 /hl/src/H5TB.c
parent25d1056dbff92a7662ee73c67596d24906530dbc (diff)
downloadhdf5-20720af231c875330a6074f65ee1c54e6a806fbb.zip
hdf5-20720af231c875330a6074f65ee1c54e6a806fbb.tar.gz
hdf5-20720af231c875330a6074f65ee1c54e6a806fbb.tar.bz2
[svn-r12735] Description:
Clean up some compiler warnings and resolve some inconsistenceis between hsize_t and size_t in the interface. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat
Diffstat (limited to 'hl/src/H5TB.c')
-rw-r--r--hl/src/H5TB.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hl/src/H5TB.c b/hl/src/H5TB.c
index db912a8..4d9ec84 100644
--- a/hl/src/H5TB.c
+++ b/hl/src/H5TB.c
@@ -324,7 +324,7 @@ herr_t H5TBappend_records( hid_t loc_id,
goto out;
/* Append the records */
- if ((H5TB_common_append_records(did, mem_type_id, nrecords, nrecords_orig, data))<0)
+ if ((H5TB_common_append_records(did, mem_type_id, (size_t)nrecords, nrecords_orig, data))<0)
goto out;
/* Release the datatype. */
@@ -934,7 +934,7 @@ herr_t H5TBread_records( hid_t loc_id,
goto out;
/* Read the records */
- if ((H5TB_common_read_records(did, mem_type_id, start, nrecords, nrecords_orig, data)) < 0)
+ if ((H5TB_common_read_records(did, mem_type_id, start, (size_t)nrecords, nrecords_orig, data)) < 0)
goto out;
/* get the dataspace handle */
@@ -3671,7 +3671,7 @@ out:
*/
herr_t H5TB_common_append_records( hid_t dataset_id,
hid_t mem_type_id,
- hsize_t nrecords,
+ size_t nrecords,
hsize_t orig_table_size,
const void * data)
{
@@ -3746,7 +3746,7 @@ out:
herr_t H5TB_common_read_records( hid_t dataset_id,
hid_t mem_type_id,
hsize_t start,
- hsize_t nrecords,
+ size_t nrecords,
hsize_t table_size,
void *data)
{