From 20786cd28be5ded6a2a9a3ce33a1c3f92b5c02f6 Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Wed, 27 Apr 2005 10:22:32 -0500 Subject: [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: --- tools/h5repack/testh5repack_make.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12