summaryrefslogtreecommitdiffstats
path: root/tools/misc/h5repart.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2013-08-15 13:24:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2013-08-15 13:24:28 (GMT)
commit453f95c192ee8db44299b02abf95698e8bf247ce (patch)
tree6159148b3498c9540ceb3ed00f63bd34639100cb /tools/misc/h5repart.c
parentb6f7e6e79c7f8121559165195e6ad6b9872dff3f (diff)
downloadhdf5-453f95c192ee8db44299b02abf95698e8bf247ce.zip
hdf5-453f95c192ee8db44299b02abf95698e8bf247ce.tar.gz
hdf5-453f95c192ee8db44299b02abf95698e8bf247ce.tar.bz2
[svn-r24011] Description:
Clean up a few warnings Tested on: Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
Diffstat (limited to 'tools/misc/h5repart.c')
-rw-r--r--tools/misc/h5repart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/h5repart.c b/tools/misc/h5repart.c
index d41dfc9..07f6bfd 100644
--- a/tools/misc/h5repart.c
+++ b/tools/misc/h5repart.c
@@ -301,7 +301,7 @@ main (int argc, char *argv[])
n = blk_size;
if (dst_is_family) n = (size_t)MIN((off_t)n, dst_size-dst_offset);
if (left_overs) {
- n = (size_t)MIN (n, left_overs);
+ n = (size_t)MIN ((off_t)n, left_overs);
left_overs -= n;
need_write = FALSE;
} else if (src_offset<src_act_size) {