summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fortran/test/tH5P_F03.f903
1 files changed, 1 insertions, 2 deletions
diff --git a/fortran/test/tH5P_F03.f90 b/fortran/test/tH5P_F03.f90
index f5fd041..85bceb7 100644
--- a/fortran/test/tH5P_F03.f90
+++ b/fortran/test/tH5P_F03.f90
@@ -395,7 +395,6 @@ SUBROUTINE test_h5p_file_image(total_error)
TYPE(C_PTR), DIMENSION(1:1) :: f_ptr2
! Initialize file image buffer
-
DO i = 1, count
buffer(i) = i*10
ENDDO
@@ -409,7 +408,7 @@ SUBROUTINE test_h5p_file_image(total_error)
temp_size = 1
CALL h5pget_file_image_f(fapl_1, f_ptr2, temp_size, error)
CALL check("h5pget_file_image_f", error, total_error)
- CALL verify("h5pget_file_image_f", temp_size, 0, total_error)
+ CALL verify("h5pget_file_image_f", INT(temp_size), 0, total_error)
! Set file image
f_ptr = C_LOC(buffer(1))