diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-01-18 13:17:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-01-18 13:17:33 (GMT) |
commit | 04f2fe8ff8ca098a88d769deaa5b663a629ddecc (patch) | |
tree | 2bf5d9a5734c1aa7f9bd7bd414e5e0c5411bc8fd /tools/misc/h5repart.c | |
parent | 628c3cd5040ba5df24f945494ea5c9ac81bd7692 (diff) | |
download | hdf5-04f2fe8ff8ca098a88d769deaa5b663a629ddecc.zip hdf5-04f2fe8ff8ca098a88d769deaa5b663a629ddecc.tar.gz hdf5-04f2fe8ff8ca098a88d769deaa5b663a629ddecc.tar.bz2 |
[svn-r6301] Purpose:
Code cleanup & bug fix
Description:
Cleanup another set of warnings on Windows and also fix mis-placed assertion
that caused the daily tests to fail.
Platforms tested:
IRIX64 6.5 (modi4) w/-n32
Diffstat (limited to 'tools/misc/h5repart.c')
-rw-r--r-- | tools/misc/h5repart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/h5repart.c b/tools/misc/h5repart.c index fccc378..2c72852 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 = MIN (n, left_overs); + n = (size_t)MIN (n, left_overs); left_overs -= n; need_write = FALSE; } else if (src_offset<src_act_size) { |