summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fortran/src/H5Aff.F902
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/H5Aff.F90 b/fortran/src/H5Aff.F90
index a827738..6792b45 100644
--- a/fortran/src/H5Aff.F90
+++ b/fortran/src/H5Aff.F90
@@ -2242,7 +2242,7 @@ CONTAINS
! identifier (in memory)
INTEGER(HSIZE_T), INTENT(IN), DIMENSION(*) :: dims ! Array to story buf dimension sizes
REAL(KIND=C_DOUBLE), INTENT(IN), &
- DIMENSION(dims(1),dims(2),dims(3)) :: buf
+ DIMENSION(dims(1),dims(2),dims(3)), TARGET :: buf
! Attribute data
INTEGER, INTENT(OUT) :: hdferr ! Error code
TYPE(C_PTR) :: f_ptr