diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-01-17 20:34:14 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-01-17 20:34:14 (GMT) |
commit | 1208e94eff8223d5c68bd7d50c4b885df222122a (patch) | |
tree | e740ea0e3b23176f5e194d7e98def93ec33d5b0e /tools/misc/h5repart.c | |
parent | 6f667500c1f163a7fd9cb15945078c3fef622ab1 (diff) | |
download | hdf5-1208e94eff8223d5c68bd7d50c4b885df222122a.zip hdf5-1208e94eff8223d5c68bd7d50c4b885df222122a.tar.gz hdf5-1208e94eff8223d5c68bd7d50c4b885df222122a.tar.bz2 |
[svn-r6296] Purpose:
Code cleanup
Description:
Reduce warnings on Windows
Platforms tested:
FreeBSD 4.7 (sleipnir)
Diffstat (limited to 'tools/misc/h5repart.c')
-rw-r--r-- | tools/misc/h5repart.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/tools/misc/h5repart.c b/tools/misc/h5repart.c index 4a28069..fccc378 100644 --- a/tools/misc/h5repart.c +++ b/tools/misc/h5repart.c @@ -196,7 +196,6 @@ main (int argc, char *argv[]) h5_stat_t sb; int verbose=FALSE; /*display file names? */ - size_t left_overs=0; /*amount of zeros left over */ const char *src_gen_name; /*general source name */ char src_name[NAMELEN]; /*source member name */ @@ -211,15 +210,17 @@ main (int argc, char *argv[]) #ifdef WIN32 - _int64 src_offset=0; /*offset in source member */ - _int64 dst_offset=0; /*offset in destination member */ - _int64 src_size; /*source logical member size */ + _int64 left_overs=0; /*amount of zeros left over */ + _int64 src_offset=0; /*offset in source member */ + _int64 dst_offset=0; /*offset in destination member */ + _int64 src_size; /*source logical member size */ _int64 src_act_size; /*source actual member size */ _int64 dst_size=1 GB; /*destination logical memb size */ #else - off_t src_offset=0; /*offset in source member */ - off_t dst_offset=0; /*offset in destination member */ - off_t src_size; /*source logical member size */ + off_t left_overs=0; /*amount of zeros left over */ + off_t src_offset=0; /*offset in source member */ + off_t dst_offset=0; /*offset in destination member */ + off_t src_size; /*source logical member size */ off_t src_act_size; /*source actual member size */ off_t dst_size=1 GB; /*destination logical memb size */ #endif |