summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-09-01 22:46:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-09-01 22:46:16 (GMT)
commit90103afad6237862caa8fe02e80c57d9515e2b30 (patch)
tree4c7c784f181b7a4c8f45b0262ed648b588d9a7ad /tools
parentfc90c784e1b114079038484f1825ac53987c6b44 (diff)
downloadhdf5-90103afad6237862caa8fe02e80c57d9515e2b30.zip
hdf5-90103afad6237862caa8fe02e80c57d9515e2b30.tar.gz
hdf5-90103afad6237862caa8fe02e80c57d9515e2b30.tar.bz2
[svn-r11337] Purpose:
Code cleanup Description: Changed some scale+offset filter symbols from H5_SO_... -> H5Z_SO_... to indicate that they are in the H5Z package. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump/h5dumpgentest.c2
-rw-r--r--tools/h5repack/h5repack_filters.c2
-rw-r--r--tools/h5repack/testh5repack_make.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c
index 0dcde7f..4f1c0f5 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,2,H5Tget_size(H5T_NATIVE_INT));
+ ret=H5Pset_scaleoffset(dcpl,H5Z_SO_INT,H5Tget_size(H5T_NATIVE_INT));
assert(ret>=0);
ret=make_dset(fid,"scaleoffset",sid,H5T_NATIVE_INT,dcpl,buf1);
diff --git a/tools/h5repack/h5repack_filters.c b/tools/h5repack/h5repack_filters.c
index 1eea971..db3277b 100644
--- a/tools/h5repack/h5repack_filters.c
+++ b/tools/h5repack/h5repack_filters.c
@@ -392,7 +392,7 @@ int apply_filters(const char* name, /* object name from traverse list */
/* The following line needs to be changed in the future,
H5_SO_INT needs to be passed as a parameter, it can
be either H5_SO_FLOAT_DSCALE or H5_SO_INT. KY, 2005/8/31 */
- if (H5Pset_scaleoffset(dcpl_id,H5_SO_INT,aggression)<0)
+ if (H5Pset_scaleoffset(dcpl_id,H5Z_SO_INT,aggression)<0)
return -1;
break;
} /* switch */
diff --git a/tools/h5repack/testh5repack_make.c b/tools/h5repack/testh5repack_make.c
index 757f11f..5213043 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,H5_SO_INT,31)<0)
+ if (H5Pset_scaleoffset(dcpl,H5Z_SO_INT,31)<0)
{
H5Tclose(dtid);
goto out;