summaryrefslogtreecommitdiffstats
path: root/src/H5Dio.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-07-01 20:03:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-07-01 20:03:10 (GMT)
commit5ccfe5a72453299c4995b3faaaab1e35c975fde3 (patch)
tree6b301625e9865965f19572e91a0dc0b029a9cadd /src/H5Dio.c
parent700a3f0b3cc3d053d3245d5f16066817eee99ab5 (diff)
downloadhdf5-5ccfe5a72453299c4995b3faaaab1e35c975fde3.zip
hdf5-5ccfe5a72453299c4995b3faaaab1e35c975fde3.tar.gz
hdf5-5ccfe5a72453299c4995b3faaaab1e35c975fde3.tar.bz2
[svn-r8783] Purpose:
Code cleanup Description: Clean up almost all warnings from Windows builds. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
Diffstat (limited to 'src/H5Dio.c')
-rw-r--r--src/H5Dio.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index 1e6edf7..2fd4a65 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -1151,7 +1151,7 @@ H5D_contig_read(hsize_t nelmts, H5D_t *dataset,
target_size = max_type_size;
/* If the buffer is too large to hold all the elements, make it smaller */
else if(target_size>(nelmts*max_type_size))
- target_size=(nelmts*max_type_size);
+ target_size=(size_t)(nelmts*max_type_size);
} /* end if */
request_nelmts = target_size / max_type_size;
@@ -1202,7 +1202,7 @@ H5D_contig_read(hsize_t nelmts, H5D_t *dataset,
for (smine_start=0; smine_start<nelmts; smine_start+=smine_nelmts) {
/* Go figure out how many elements to read from the file */
assert(H5S_SELECT_ITER_NELMTS(&file_iter)==(nelmts-smine_start));
- smine_nelmts = MIN(request_nelmts, (nelmts-smine_start));
+ smine_nelmts = (size_t)MIN(request_nelmts, (nelmts-smine_start));
/*
* Gather the data from disk into the data type conversion
@@ -1389,7 +1389,7 @@ H5D_contig_write(hsize_t nelmts, H5D_t *dataset,
target_size = max_type_size;
/* If the buffer is too large to hold all the elements, make it smaller */
else if(target_size>(nelmts*max_type_size))
- target_size=(nelmts*max_type_size);
+ target_size=(size_t)(nelmts*max_type_size);
} /* end if */
request_nelmts = target_size / max_type_size;
@@ -1444,7 +1444,7 @@ H5D_contig_write(hsize_t nelmts, H5D_t *dataset,
for (smine_start=0; smine_start<nelmts; smine_start+=smine_nelmts) {
/* Go figure out how many elements to read from the file */
assert(H5S_SELECT_ITER_NELMTS(&file_iter)==(nelmts-smine_start));
- smine_nelmts = MIN(request_nelmts, (nelmts-smine_start));
+ smine_nelmts = (size_t)MIN(request_nelmts, (nelmts-smine_start));
/*
* Gather data from application buffer into the data type conversion
@@ -1658,7 +1658,7 @@ H5D_chunk_read(hsize_t nelmts, H5D_t *dataset,
target_size = max_type_size;
/* If the buffer is too large to hold all the elements, make it smaller */
else if(target_size>(nelmts*max_type_size))
- target_size=(nelmts*max_type_size);
+ target_size=(size_t)(nelmts*max_type_size);
} /* end if */
request_nelmts = target_size / max_type_size;
@@ -1724,7 +1724,7 @@ H5D_chunk_read(hsize_t nelmts, H5D_t *dataset,
for (smine_start=0; smine_start<chunk_info->chunk_points; smine_start+=smine_nelmts) {
/* Go figure out how many elements to read from the file */
assert(H5S_SELECT_ITER_NELMTS(&file_iter)==(chunk_info->chunk_points-smine_start));
- smine_nelmts = MIN(request_nelmts, (chunk_info->chunk_points-smine_start));
+ smine_nelmts = (size_t)MIN(request_nelmts, (chunk_info->chunk_points-smine_start));
/*
* Gather the data from disk into the data type conversion
@@ -2004,7 +2004,7 @@ H5D_chunk_write(hsize_t nelmts, H5D_t *dataset,
target_size = max_type_size;
/* If the buffer is too large to hold all the elements, make it smaller */
else if(target_size>(nelmts*max_type_size))
- target_size=(nelmts*max_type_size);
+ target_size=(size_t)(nelmts*max_type_size);
} /* end if */
request_nelmts = target_size / max_type_size;
@@ -2074,7 +2074,7 @@ H5D_chunk_write(hsize_t nelmts, H5D_t *dataset,
for (smine_start=0; smine_start<chunk_info->chunk_points; smine_start+=smine_nelmts) {
/* Go figure out how many elements to read from the file */
assert(H5S_SELECT_ITER_NELMTS(&file_iter)==(chunk_info->chunk_points-smine_start));
- smine_nelmts = MIN(request_nelmts, (chunk_info->chunk_points-smine_start));
+ smine_nelmts = (size_t)MIN(request_nelmts, (chunk_info->chunk_points-smine_start));
/*
* Gather the data from disk into the data type conversion