diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2005-04-27 15:22:32 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2005-04-27 15:22:32 (GMT) |
commit | 20786cd28be5ded6a2a9a3ce33a1c3f92b5c02f6 (patch) | |
tree | 6993fdab4d3d1c8c9d8dbedf708f42a6545917f4 /tools | |
parent | affa4e9bff471a56eed7524a0c7ad9a6e0ae3d13 (diff) | |
download | hdf5-20786cd28be5ded6a2a9a3ce33a1c3f92b5c02f6.zip hdf5-20786cd28be5ded6a2a9a3ce33a1c3f92b5c02f6.tar.gz hdf5-20786cd28be5ded6a2a9a3ce33a1c3f92b5c02f6.tar.bz2 |
[svn-r10678] Purpose:
Update usage of H5Pset_scaleoffset.
Description:
H5Pset_scaleoffset API is changed due to addition of the floating-point filter.
Solution:
Only add a parameter, nothing should change for the tool.
Platforms tested:
Linux 2.4
Misc. update:
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5repack/testh5repack_make.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/testh5repack_make.c b/tools/h5repack/testh5repack_make.c index 9ae625d..48a9a72 100644 --- a/tools/h5repack/testh5repack_make.c +++ b/tools/h5repack/testh5repack_make.c @@ -786,7 +786,7 @@ int make_scaleoffset(hid_t loc_id) H5Tclose(dtid); goto out; } - if (H5Pset_scaleoffset(dcpl,31)<0) + if (H5Pset_scaleoffset(dcpl,31,2)<0) { H5Tclose(dtid); goto out; |