summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-01-18 13:17:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-01-18 13:17:33 (GMT)
commit04f2fe8ff8ca098a88d769deaa5b663a629ddecc (patch)
tree2bf5d9a5734c1aa7f9bd7bd414e5e0c5411bc8fd /tools
parent628c3cd5040ba5df24f945494ea5c9ac81bd7692 (diff)
downloadhdf5-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')
-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 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) {