summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/h5repack/testh5repack_make.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/testh5repack_make.c b/tools/h5repack/testh5repack_make.c
index 9adecc7..757f11f 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,2)<0)
+ if (H5Pset_scaleoffset(dcpl,H5_SO_INT,31)<0)
{
H5Tclose(dtid);
goto out;