summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2005-08-31 22:15:10 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2005-08-31 22:15:10 (GMT)
commit926b953316fad230bd68e8dc01c805f6a148474e (patch)
treed9e8a2f7e3d8a88c387eb6c905ddd46cbdd99c78 /tools
parentc944a939837f23fb1974a77dad2b1a55c3755d52 (diff)
downloadhdf5-926b953316fad230bd68e8dc01c805f6a148474e.zip
hdf5-926b953316fad230bd68e8dc01c805f6a148474e.tar.gz
hdf5-926b953316fad230bd68e8dc01c805f6a148474e.tar.bz2
[svn-r11329] Purpose:
code changes due to the change of scaleoffset API. Description: Solution: Platforms tested: Misc. update:
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump/h5dumpgentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c
index f79db30..0dcde7f 100644
--- a/tools/h5dump/h5dumpgentest.c
+++ b/tools/h5dump/h5dumpgentest.c
@@ -4664,7 +4664,7 @@ static void gent_filters(void)
assert(ret>=0);
/* set the scaleoffset filter */
- ret=H5Pset_scaleoffset(dcpl,H5Tget_size(H5T_NATIVE_INT),2);
+ ret=H5Pset_scaleoffset(dcpl,2,H5Tget_size(H5T_NATIVE_INT));
assert(ret>=0);
ret=make_dset(fid,"scaleoffset",sid,H5T_NATIVE_INT,dcpl,buf1);