diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2012-04-01 21:18:37 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2012-04-01 21:18:37 (GMT) |
commit | 85594d2856141652ddca2261986ad2d53eee3cf2 (patch) | |
tree | 907d037e24c12064edceedccbc91d2da71f61691 /tools/h5repack/h5repack_copy.c | |
parent | 6783ce354ca8910a160beccb2aa56e15cc81fc60 (diff) | |
download | hdf5-85594d2856141652ddca2261986ad2d53eee3cf2.zip hdf5-85594d2856141652ddca2261986ad2d53eee3cf2.tar.gz hdf5-85594d2856141652ddca2261986ad2d53eee3cf2.tar.bz2 |
[svn-r22224] Description:
Clean up a few warnings and use constant values for free-space
parameters for the metadata block size test.
Tested on:
Linux/64 2.6.18 (koala) w/production & szip
(h5committested also)
Diffstat (limited to 'tools/h5repack/h5repack_copy.c')
-rw-r--r-- | tools/h5repack/h5repack_copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c index 15df639..d38a15c 100644 --- a/tools/h5repack/h5repack_copy.c +++ b/tools/h5repack/h5repack_copy.c @@ -42,7 +42,7 @@ int _err_num = 0; \ char _msg[80]; \ H5Ewalk2(H5E_DEFAULT, H5E_WALK_DOWNWARD, walk_error_callback, &_err_num); \ - H5Eget_msg(_err_num, NULL, _msg, 80); \ + H5Eget_msg(_err_num, NULL, _msg, (size_t)80); \ error_msg("%s %s -- %s\n", #_fun, "failed", _msg); \ goto error; \ } \ @@ -311,7 +311,7 @@ int copy_objects(const char* fnamein, * set metadata block size option *------------------------------------------------------------------------- */ - if ( options->meta_block_size > 0 ) + if ( options->meta_block_size > 0 ) { /* either use the FAPL already created or create a new one */ if (fapl == H5P_DEFAULT) |