summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fortran/examples/compound.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/examples/compound.f90 b/fortran/examples/compound.f90
index 422f1d8..0b111d5 100644
--- a/fortran/examples/compound.f90
+++ b/fortran/examples/compound.f90
@@ -87,7 +87,7 @@
! during write/read to/from dataset with compound datatype.
!
CALL h5pcreate_f(H5P_DATASET_XFER_F, plist_id, error)
- CALL h5pset_preserve_f(plist_id, 1, error)
+ CALL h5pset_preserve_f(plist_id, .TRUE., error)
!
! Create a new file using default properties.