diff options
Diffstat (limited to 'tools/h5repack')
-rw-r--r-- | tools/h5repack/h5repack_filters.c | 2 | ||||
-rw-r--r-- | tools/h5repack/testh5repack_make.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; |