diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-05-25 17:58:59 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-05-25 17:58:59 (GMT) |
commit | fe744bd8df1c0ce23c2631773a9463e781d84052 (patch) | |
tree | 3ce1e18ffc3555d0fe65118a56de19dd0d7fe774 /tools/h5jam/h5jam.c | |
parent | 2f7d953a9d328862297be8c33ecdaaeadd14ae14 (diff) | |
download | hdf5-fe744bd8df1c0ce23c2631773a9463e781d84052.zip hdf5-fe744bd8df1c0ce23c2631773a9463e781d84052.tar.gz hdf5-fe744bd8df1c0ce23c2631773a9463e781d84052.tar.bz2 |
[svn-r22412] reduce compiler warnings by removing unreferenced variables and adding cast
Tested: local linux
Diffstat (limited to 'tools/h5jam/h5jam.c')
-rw-r--r-- | tools/h5jam/h5jam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5jam/h5jam.c b/tools/h5jam/h5jam.c index 981eead..52eb0aa 100644 --- a/tools/h5jam/h5jam.c +++ b/tools/h5jam/h5jam.c @@ -310,7 +310,7 @@ main (int argc, const char *argv[]) leave (EXIT_FAILURE); } - fsize = sbuf.st_size; + fsize = (off_t)sbuf.st_size; h5fid = HDopen(input_file, O_RDONLY, 0); if(h5fid < 0) { @@ -455,7 +455,7 @@ copy_some_to_file (int infid, int outfid, hsize_t startin, hsize_t startout, exit (EXIT_FAILURE); } - howmuch = sbuf.st_size; + howmuch = (ssize_t)sbuf.st_size; } else howmuch = limit; |